id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_enum_router_-1828986072263077812
clm
enum
// hyperswitch/crates/router/src/types/fraud_check.rs pub enum FrmRequest { Sale(FraudCheckSaleData), Checkout(Box<FraudCheckCheckoutData>), Transaction(FraudCheckTransactionData), Fulfillment(FraudCheckFulfillmentData), RecordReturn(FraudCheckRecordReturnData), }
{ "chunk": null, "crate": "router", "enum_name": "FrmRequest", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4751647709385023256
clm
enum
// hyperswitch/crates/router/src/types/fraud_check.rs pub enum FrmResponse { Sale(Result<FraudCheckResponseData, ErrorResponse>), Checkout(Result<FraudCheckResponseData, ErrorResponse>), Transaction(Result<FraudCheckResponseData, ErrorResponse>), Fulfillment(Result<FraudCheckResponseData, ErrorResponse>), RecordReturn(Result<FraudCheckResponseData, ErrorResponse>), }
{ "chunk": null, "crate": "router", "enum_name": "FrmResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-854719024719402634
clm
enum
// hyperswitch/crates/router/src/types/api.rs pub enum ConnectorCallType { PreDetermined(ConnectorRoutingData), Retryable(Vec<ConnectorRoutingData>), SessionMultiple(SessionConnectorDatas), #[cfg(feature = "v2")] Skip, }
{ "chunk": null, "crate": "router", "enum_name": "ConnectorCallType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_5131711328526773486
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenKind { Temporary, Permanent, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenKind", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_3310373038601135337
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenData { // The variants 'Temporary' and 'Permanent' are added for backwards compatibility // with any tokenized data present in Redis at the time of deployment of this change Temporary(GenericTokenData), TemporaryGeneric(GenericTokenData), Permanent(CardTokenData), PermanentCard(CardTokenData), AuthBankDebit(payment_methods::BankAccountTokenData), WalletToken(WalletTokenData), }
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_3310373038601135337
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenData { TemporaryGeneric(GenericTokenData), PermanentCard(CardTokenData), AuthBankDebit(payment_methods::BankAccountTokenData), }
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1170549036307356882
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentMethodListContext { Card { card_details: api::CardDetailFromLocker, // TODO: Why can't these fields be mandatory? token_data: Option<PaymentTokenData>, }, Bank { token_data: Option<PaymentTokenData>, }, #[cfg(feature = "payouts")] BankTransfer { bank_transfer_details: api::BankPayout, token_data: Option<PaymentTokenData>, }, TemporaryToken { token_data: Option<PaymentTokenData>, }, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodListContext", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5549711373977115489
clm
enum
// hyperswitch/crates/router/src/types/api/connector_mapping.rs pub enum GetToken { GpayMetadata, SamsungPayMetadata, AmazonPayMetadata, ApplePayMetadata, PaypalSdkMetadata, PazeMetadata, Connector, }
{ "chunk": null, "crate": "router", "enum_name": "GetToken", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1313273052649013175
clm
enum
// hyperswitch/crates/router/src/types/api/disputes.rs pub enum EvidenceType { CancellationPolicy, CustomerCommunication, CustomerSignature, Receipt, RefundPolicy, ServiceDocumentation, ShippingDocumentation, InvoiceShowingDistinctTransactions, RecurringTransactionAgreement, UncategorizedFile, }
{ "chunk": null, "crate": "router", "enum_name": "EvidenceType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3741495030506210913
clm
enum
// hyperswitch/crates/router/src/types/api/files.rs pub enum FileDataRequired { Required, NotRequired, }
{ "chunk": null, "crate": "router", "enum_name": "FileDataRequired", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-8639426813788060835
clm
enum
// hyperswitch/crates/router/src/types/api/routing.rs pub enum RoutingAlgorithmV0 { Single(Box<RoutableConnectorChoice>), Priority(Vec<RoutableConnectorChoice>), VolumeSplit(Vec<ConnectorVolumeSplitV0>), Custom { timestamp: i64 }, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingAlgorithmV0", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3336287314833158627
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalProducts { Ppcp, AdvancedVaulting, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalProducts", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4825697392682688107
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalCapabilities { PaypalWalletVaultingAdvanced, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalCapabilities", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5399492239829643743
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalReferralOperationType { ApiIntegration, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalReferralOperationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6088324411699718598
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum IntegrationMethod { Paypal, }
{ "chunk": null, "crate": "router", "enum_name": "IntegrationMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-8769200546299392037
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalIntegrationType { ThirdParty, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalIntegrationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_5966750651952263679
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalFeatures { Payment, Refund, Vault, AccessMerchantInformation, BillingAgreement, ReadSellerDispute, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalFeatures", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-7808807362099684167
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum LegalConsentType { ShareDataConsent, }
{ "chunk": null, "crate": "router", "enum_name": "LegalConsentType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1679323761594520008
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum VettingStatus { NeedMoreData, Subscribed, Denied, }
{ "chunk": null, "crate": "router", "enum_name": "VettingStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-2334554786809587374
clm
enum
// hyperswitch/crates/router/src/types/domain/address.rs pub enum AddressUpdate { Update { city: Option<String>, country: Option<enums::CountryAlpha2>, line1: crypto::OptionalEncryptableSecretString, line2: crypto::OptionalEncryptableSecretString, line3: crypto::OptionalEncryptableSecretString, state: crypto::OptionalEncryptableSecretString, zip: crypto::OptionalEncryptableSecretString, first_name: crypto::OptionalEncryptableSecretString, last_name: crypto::OptionalEncryptableSecretString, phone_number: crypto::OptionalEncryptableSecretString, country_code: Option<String>, updated_by: String, email: crypto::OptionalEncryptableEmail, origin_zip: crypto::OptionalEncryptableSecretString, }, }
{ "chunk": null, "crate": "router", "enum_name": "AddressUpdate", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_7303250250937038928
clm
enum
// hyperswitch/crates/router/src/types/domain/event.rs pub enum EventUpdate { UpdateResponse { is_webhook_notified: bool, response: OptionalEncryptableSecretString, }, OverallDeliveryStatusUpdate { is_overall_delivery_successful: bool, }, }
{ "chunk": null, "crate": "router", "enum_name": "EventUpdate", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-7655660025300631131
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum UserFlow { SPTFlow(SPTFlow), JWTFlow(JWTFlow), }
{ "chunk": null, "crate": "router", "enum_name": "UserFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_5568621215892633901
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum SPTFlow { AuthSelect, SSO, TOTP, VerifyEmail, AcceptInvitationFromEmail, ForceSetPassword, MerchantSelect, ResetPassword, }
{ "chunk": null, "crate": "router", "enum_name": "SPTFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_9129369184565638300
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum JWTFlow { UserInfo, }
{ "chunk": null, "crate": "router", "enum_name": "JWTFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2629557689910601824
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum Origin { #[serde(rename = "sign_in_with_sso")] SignInWithSSO, SignIn, SignUp, MagicLink, VerifyEmail, AcceptInvitationFromEmail, ResetPassword, }
{ "chunk": null, "crate": "router", "enum_name": "Origin", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5037736532027536727
clm
enum
// hyperswitch/crates/router/src/core/payments.rs pub enum DecideWalletFlow { ApplePayDecrypt(payments_api::PaymentProcessingDetails), PazeDecrypt(PazePaymentProcessingDetails), GooglePayDecrypt(GooglePayPaymentProcessingDetails), SkipDecryption, }
{ "chunk": null, "crate": "router", "enum_name": "DecideWalletFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4783691463391848163
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum HealthCheckOutGoing { #[error("Outgoing call failed with error: {message}")] OutGoingFailed { message: String }, }
{ "chunk": null, "crate": "router", "enum_name": "HealthCheckOutGoing", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_4652892285500742414
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum AwsKmsError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to AWS KMS decrypt input data")] DecryptionFailed, #[error("Missing plaintext AWS KMS decryption output")] MissingPlaintextDecryptionOutput, #[error("Failed to UTF-8 decode decryption output")] Utf8DecodingFailed, }
{ "chunk": null, "crate": "router", "enum_name": "AwsKmsError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_7094831731230487310
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum WebhooksFlowError { #[error("Merchant webhook config not found")] MerchantConfigNotFound, #[error("Webhook details for merchant not configured")] MerchantWebhookDetailsNotFound, #[error("Merchant does not have a webhook URL configured")] MerchantWebhookUrlNotConfigured, #[error("Webhook event updation failed")] WebhookEventUpdationFailed, #[error("Outgoing webhook body signing failed")] OutgoingWebhookSigningFailed, #[error("Webhook api call to merchant failed")] CallToMerchantFailed, #[error("Webhook not received by merchant")] NotReceivedByMerchant, #[error("Dispute webhook status validation failed")] DisputeWebhookValidationFailed, #[error("Outgoing webhook body encoding failed")] OutgoingWebhookEncodingFailed, #[error("Failed to update outgoing webhook process tracker task")] OutgoingWebhookProcessTrackerTaskUpdateFailed, #[error("Failed to schedule retry attempt for outgoing webhook")] OutgoingWebhookRetrySchedulingFailed, #[error("Outgoing webhook response encoding failed")] OutgoingWebhookResponseEncodingFailed, #[error("ID generation failed")] IdGenerationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "WebhooksFlowError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1320470080360211927
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum ApplePayDecryptionError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Certificate parsing failed")] CertificateParsingFailed, #[error("Certificate parsing failed")] MissingMerchantId, #[error("Key Deserialization failure")] KeyDeserializationFailed, #[error("Failed to Derive a shared secret key")] DerivingSharedSecretKeyFailed, }
{ "chunk": null, "crate": "router", "enum_name": "ApplePayDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6697949689011907105
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum PazeDecryptionError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Certificate parsing failed")] CertificateParsingFailed, }
{ "chunk": null, "crate": "router", "enum_name": "PazeDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1066777434251826535
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum GooglePayDecryptionError { #[error("Invalid expiration time")] InvalidExpirationTime, #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Failed to deserialize input data")] DeserializationFailed, #[error("Certificate parsing failed")] CertificateParsingFailed, #[error("Key deserialization failure")] KeyDeserializationFailed, #[error("Failed to derive a shared ephemeral key")] DerivingSharedEphemeralKeyFailed, #[error("Failed to derive a shared secret key")] DerivingSharedSecretKeyFailed, #[error("Failed to parse the tag")] ParsingTagError, #[error("HMAC verification failed")] HmacVerificationFailed, #[error("Failed to derive Elliptic Curve key")] DerivingEcKeyFailed, #[error("Failed to Derive Public key")] DerivingPublicKeyFailed, #[error("Failed to Derive Elliptic Curve group")] DerivingEcGroupFailed, #[error("Failed to allocate memory for big number")] BigNumAllocationFailed, #[error("Failed to get the ECDSA signature")] EcdsaSignatureFailed, #[error("Failed to verify the signature")] SignatureVerificationFailed, #[error("Invalid signature is provided")] InvalidSignature, #[error("Failed to parse the Signed Key")] SignedKeyParsingFailure, #[error("The Signed Key is expired")] SignedKeyExpired, #[error("Failed to parse the ECDSA signature")] EcdsaSignatureParsingFailed, #[error("Invalid intermediate signature is provided")] InvalidIntermediateSignature, #[error("Invalid protocol version")] InvalidProtocolVersion, #[error("Decrypted Token has expired")] DecryptedTokenExpired, #[error("Failed to parse the given value")] ParsingFailed, }
{ "chunk": null, "crate": "router", "enum_name": "GooglePayDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-2968217292886702848
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum RoutingError { #[error("Merchant routing algorithm not found in cache")] CacheMiss, #[error("Final connector selection failed")] ConnectorSelectionFailed, #[error("[DSL] Missing required field in payment data: '{field_name}'")] DslMissingRequiredField { field_name: String }, #[error("The lock on the DSL cache is most probably poisoned")] DslCachePoisoned, #[error("Expected DSL to be saved in DB but did not find")] DslMissingInDb, #[error("Unable to parse DSL from JSON")] DslParsingError, #[error("Failed to initialize DSL backend")] DslBackendInitError, #[error("Error updating merchant with latest dsl cache contents")] DslMerchantUpdateError, #[error("Error executing the DSL")] DslExecutionError, #[error("Final connector selection failed")] DslFinalConnectorSelectionFailed, #[error("[DSL] Received incorrect selection algorithm as DSL output")] DslIncorrectSelectionAlgorithm, #[error("there was an error saving/retrieving values from the kgraph cache")] KgraphCacheFailure, #[error("failed to refresh the kgraph cache")] KgraphCacheRefreshFailed, #[error("there was an error during the kgraph analysis phase")] KgraphAnalysisError, #[error("'profile_id' was not provided")] ProfileIdMissing, #[error("the profile was not found in the database")] ProfileNotFound, #[error("failed to fetch the fallback config for the merchant")] FallbackConfigFetchFailed, #[error("Invalid connector name received: '{0}'")] InvalidConnectorName(String), #[error("The routing algorithm in merchant account had invalid structure")] InvalidRoutingAlgorithmStructure, #[error("Volume split failed")] VolumeSplitFailed, #[error("Unable to parse metadata")] MetadataParsingError, #[error("Unable to retrieve success based routing config")] SuccessBasedRoutingConfigError, #[error("Params not found in success based routing config")] SuccessBasedRoutingParamsNotFoundError, #[error("Unable to calculate success based routing config from dynamic routing service")] SuccessRateCalculationError, #[error("Success rate client from dynamic routing gRPC service not initialized")] SuccessRateClientInitializationError, #[error("Elimination client from dynamic routing gRPC service not initialized")] EliminationClientInitializationError, #[error("Unable to analyze elimination routing config from dynamic routing service")] EliminationRoutingCalculationError, #[error("Params not found in elimination based routing config")] EliminationBasedRoutingParamsNotFoundError, #[error("Unable to retrieve elimination based routing config")] EliminationRoutingConfigError, #[error( "Invalid elimination based connector label received from dynamic routing service: '{0}'" )] InvalidEliminationBasedConnectorLabel(String), #[error("Unable to convert from '{from}' to '{to}'")] GenericConversionError { from: String, to: String }, #[error("Invalid success based connector label received from dynamic routing service: '{0}'")] InvalidSuccessBasedConnectorLabel(String), #[error("unable to find '{field}'")] GenericNotFoundError { field: String }, #[error("Unable to deserialize from '{from}' to '{to}'")] DeserializationError { from: String, to: String }, #[error("Unable to retrieve contract based routing config")] ContractBasedRoutingConfigError, #[error("Params not found in contract based routing config")] ContractBasedRoutingParamsNotFoundError, #[error("Unable to calculate contract score from dynamic routing service: '{err}'")] ContractScoreCalculationError { err: String }, #[error("Unable to update contract score on dynamic routing service")] ContractScoreUpdationError, #[error("contract routing client from dynamic routing gRPC service not initialized")] ContractRoutingClientInitializationError, #[error("Invalid contract based connector label received from dynamic routing service: '{0}'")] InvalidContractBasedConnectorLabel(String), #[error("Failed to perform routing in open_router")] OpenRouterCallFailed, #[error("Error from open_router: {0}")] OpenRouterError(String), #[error("Decision engine responded with validation error: {0}")] DecisionEngineValidationError(String), #[error("Invalid transaction type")] InvalidTransactionType, #[error("Routing events error: {message}, status code: {status_code}")] RoutingEventsError { message: String, status_code: u16 }, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6503914258720707418
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum ConditionalConfigError { #[error("failed to fetch the fallback config for the merchant")] FallbackConfigFetchFailed, #[error("The lock on the DSL cache is most probably poisoned")] DslCachePoisoned, #[error("Merchant routing algorithm not found in cache")] CacheMiss, #[error("Expected DSL to be saved in DB but did not find")] DslMissingInDb, #[error("Unable to parse DSL from JSON")] DslParsingError, #[error("Failed to initialize DSL backend")] DslBackendInitError, #[error("Error executing the DSL")] DslExecutionError, #[error("Error constructing the Input")] InputConstructionError, }
{ "chunk": null, "crate": "router", "enum_name": "ConditionalConfigError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3495105044984103048
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum NetworkTokenizationError { #[error("Failed to save network token in vault")] SaveNetworkTokenFailed, #[error("Failed to fetch network token details from vault")] FetchNetworkTokenFailed, #[error("Failed to encode network token vault request")] RequestEncodingFailed, #[error("Failed to deserialize network token service response")] ResponseDeserializationFailed, #[error("Failed to delete network token")] DeleteNetworkTokenFailed, #[error("Network token service not configured")] NetworkTokenizationServiceNotConfigured, #[error("Failed while calling Network Token Service API")] ApiError, #[error("Network Tokenization is not enabled for profile")] NetworkTokenizationNotEnabledForProfile, #[error("Network Tokenization is not supported for {message}")] NotSupported { message: String }, #[error("Failed to encrypt the NetworkToken payment method details")] NetworkTokenDetailsEncryptionFailed, }
{ "chunk": null, "crate": "router", "enum_name": "NetworkTokenizationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-376358145864765183
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum BulkNetworkTokenizationError { #[error("Failed to validate card details")] CardValidationFailed, #[error("Failed to validate payment method details")] PaymentMethodValidationFailed, #[error("Failed to assign a customer to the card")] CustomerAssignmentFailed, #[error("Failed to perform BIN lookup for the card")] BinLookupFailed, #[error("Failed to tokenize the card details with the network")] NetworkTokenizationFailed, #[error("Failed to store the card details in locker")] VaultSaveFailed, #[error("Failed to create a payment method entry")] PaymentMethodCreationFailed, #[error("Failed to update the payment method")] PaymentMethodUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "BulkNetworkTokenizationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3647146243287569102
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum RevenueRecoveryError { #[error("Failed to fetch payment intent")] PaymentIntentFetchFailed, #[error("Failed to fetch payment attempt")] PaymentAttemptFetchFailed, #[error("Failed to fetch payment attempt")] PaymentAttemptIdNotFound, #[error("Failed to get revenue recovery invoice webhook")] InvoiceWebhookProcessingFailed, #[error("Failed to get revenue recovery invoice transaction")] TransactionWebhookProcessingFailed, #[error("Failed to create payment intent")] PaymentIntentCreateFailed, #[error("Source verification failed for billing connector")] WebhookAuthenticationFailed, #[error("Payment merchant connector account not found using account reference id")] PaymentMerchantConnectorAccountNotFound, #[error("Failed to fetch primitive date_time")] ScheduleTimeFetchFailed, #[error("Failed to create process tracker")] ProcessTrackerCreationError, #[error("Failed to get the response from process tracker")] ProcessTrackerResponseError, #[error("Billing connector psync call failed")] BillingConnectorPaymentsSyncFailed, #[error("Billing connector invoice sync call failed")] BillingConnectorInvoiceSyncFailed, #[error("Failed to fetch connector customer ID")] CustomerIdNotFound, #[error("Failed to get the retry count for payment intent")] RetryCountFetchFailed, #[error("Failed to get the billing threshold retry count")] BillingThresholdRetryCountFetchFailed, #[error("Failed to get the retry algorithm type")] RetryAlgorithmTypeNotFound, #[error("Failed to update the retry algorithm type")] RetryAlgorithmUpdationFailed, #[error("Failed to create the revenue recovery attempt data")] RevenueRecoveryAttemptDataCreateFailed, #[error("Failed to insert the revenue recovery payment method data in redis")] RevenueRecoveryRedisInsertFailed, }
{ "chunk": null, "crate": "router", "enum_name": "RevenueRecoveryError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-6558149557732153843
clm
enum
// hyperswitch/crates/router/src/core/api_locking.rs pub enum LockStatus { // status when the lock is acquired by the caller Acquired, // [#2129] pick up request_id from AppState and populate here // status when the lock is acquired by some other caller Busy, }
{ "chunk": null, "crate": "router", "enum_name": "LockStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2092625455586641002
clm
enum
// hyperswitch/crates/router/src/core/api_locking.rs pub enum LockAction { // Sleep until the lock is acquired Hold { input: LockingInput }, // Sleep until all locks are acquired HoldMultiple { inputs: Vec<LockingInput> }, // Queue it but return response as 2xx, could be used for webhooks QueueWithOk, // Return Error Drop, // Locking Not applicable NotApplicable, }
{ "chunk": null, "crate": "router", "enum_name": "LockAction", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-2511457999191051254
clm
enum
// hyperswitch/crates/router/src/core/payments/types.rs pub enum SurchargeKey { Token(String), PaymentMethodData( common_enums::PaymentMethod, common_enums::PaymentMethodType, Option<common_enums::CardNetwork>, ), }
{ "chunk": null, "crate": "router", "enum_name": "SurchargeKey", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_5484046890678973425
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum AttemptType { New, SameOld, }
{ "chunk": null, "crate": "router", "enum_name": "AttemptType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4089536564766541803
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum GooglePayProtocolVersion { #[serde(rename = "ECv2")] EcProtocolVersion2, }
{ "chunk": null, "crate": "router", "enum_name": "GooglePayProtocolVersion", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1762262983169165176
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum UnifiedAuthenticationServiceFlow { ClickToPayInitiate, ExternalAuthenticationInitiate { acquirer_details: Option<authentication::types::AcquirerDetails>, card: Box<hyperswitch_domain_models::payment_method_data::Card>, token: String, }, ExternalAuthenticationPostAuthenticate { authentication_id: id_type::AuthenticationId, }, }
{ "chunk": null, "crate": "router", "enum_name": "UnifiedAuthenticationServiceFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4724443258343667229
clm
enum
// hyperswitch/crates/router/src/core/payments/routing.rs enum MerchantAccountRoutingAlgorithm { V1(routing_types::RoutingAlgorithmRef), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4724443258343667229
clm
enum
// hyperswitch/crates/router/src/core/payments/routing.rs enum MerchantAccountRoutingAlgorithm { V1(Option<common_utils::id_type::RoutingId>), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5323125046333076201
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum RoutingType { Priority, VolumeSplit, VolumeSplitPriority, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1319078415043059823
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum Output { Single(ConnectorInfo), Priority(Vec<ConnectorInfo>), VolumeSplit(Vec<VolumeSplit<ConnectorInfo>>), VolumeSplitPriority(Vec<VolumeSplit<Vec<ConnectorInfo>>>), }
{ "chunk": null, "crate": "router", "enum_name": "Output", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1422471664942594589
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum AlgorithmType { #[default] Payment, Payout, ThreeDsAuthentication, }
{ "chunk": null, "crate": "router", "enum_name": "AlgorithmType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1677065061556865820
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum StaticRoutingAlgorithm { Single(Box<ConnectorInfo>), Priority(Vec<ConnectorInfo>), VolumeSplit(Vec<VolumeSplit<ConnectorInfo>>), Advanced(Program), }
{ "chunk": null, "crate": "router", "enum_name": "StaticRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1899979766492906596
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum EventResponseType<Res> where Res: Serialize + serde::de::DeserializeOwned + Clone, { Structured(Res), String(String), }
{ "chunk": null, "crate": "router", "enum_name": "EventResponseType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-6451133618143047493
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum RoutingApproach { Exploitation, Exploration, Elimination, ContractBased, StaticRouting, Default, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingApproach", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_726714291939004405
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum UpdationStatusEventResponse { WindowUpdationSucceeded, WindowUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "UpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-2777642787613831260
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum EliminationUpdationStatusEventResponse { BucketUpdationSucceeded, BucketUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "EliminationUpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6387180371187326155
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum ContractUpdationStatusEventResponse { ContractUpdationSucceeded, ContractUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "ContractUpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_4311209378447778402
clm
enum
// hyperswitch/crates/router/src/core/utils/refunds_validator.rs pub enum RefundValidationError { #[error("The payment attempt was not successful")] UnsuccessfulPaymentAttempt, #[error("The refund amount exceeds the amount captured")] RefundAmountExceedsPaymentAmount, #[error("The order has expired")] OrderExpired, #[error("The maximum refund count for this payment attempt")] MaxRefundCountReached, #[error("There is already another refund request for this payment attempt")] DuplicateRefund, }
{ "chunk": null, "crate": "router", "enum_name": "RefundValidationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2381327402928151771
clm
enum
// hyperswitch/crates/router/src/core/revenue_recovery/types.rs pub enum RevenueRecoveryPaymentsAttemptStatus { Succeeded, Failed, Processing, InvalidStatus(String), // Cancelled, }
{ "chunk": null, "crate": "router", "enum_name": "RevenueRecoveryPaymentsAttemptStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_4846525793093240541
clm
enum
// hyperswitch/crates/router/src/core/revenue_recovery/types.rs pub enum Action { SyncPayment(PaymentAttempt), RetryPayment(PrimitiveDateTime), TerminalFailure(PaymentAttempt), SuccessfulPayment(PaymentAttempt), ReviewPayment, ManualReviewAction, }
{ "chunk": null, "crate": "router", "enum_name": "Action", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2453982238451686269
clm
enum
// hyperswitch/crates/router/src/core/errors/customers_error_response.rs pub enum CustomersErrorResponse { #[error("Customer has already been redacted")] CustomerRedacted, #[error("Something went wrong")] InternalServerError, #[error("Invalid request data: {message}")] InvalidRequestData { message: String }, #[error("Customer has already been redacted")] MandateActive, #[error("Customer does not exist in our records")] CustomerNotFound, #[error("Customer with the given customer id already exists")] CustomerAlreadyExists, }
{ "chunk": null, "crate": "router", "enum_name": "CustomersErrorResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1634577182727037145
clm
enum
// hyperswitch/crates/router/src/core/errors/user.rs pub enum UserErrors { #[error("User InternalServerError")] InternalServerError, #[error("InvalidCredentials")] InvalidCredentials, #[error("UserNotFound")] UserNotFound, #[error("UserExists")] UserExists, #[error("LinkInvalid")] LinkInvalid, #[error("UnverifiedUser")] UnverifiedUser, #[error("InvalidOldPassword")] InvalidOldPassword, #[error("EmailParsingError")] EmailParsingError, #[error("NameParsingError")] NameParsingError, #[error("PasswordParsingError")] PasswordParsingError, #[error("UserAlreadyVerified")] UserAlreadyVerified, #[error("CompanyNameParsingError")] CompanyNameParsingError, #[error("MerchantAccountCreationError: {0}")] MerchantAccountCreationError(String), #[error("InvalidEmailError")] InvalidEmailError, #[error("DuplicateOrganizationId")] DuplicateOrganizationId, #[error("MerchantIdNotFound")] MerchantIdNotFound, #[error("MetadataAlreadySet")] MetadataAlreadySet, #[error("InvalidRoleId")] InvalidRoleId, #[error("InvalidRoleOperation")] InvalidRoleOperation, #[error("IpAddressParsingFailed")] IpAddressParsingFailed, #[error("InvalidMetadataRequest")] InvalidMetadataRequest, #[error("MerchantIdParsingError")] MerchantIdParsingError, #[error("ChangePasswordError")] ChangePasswordError, #[error("InvalidDeleteOperation")] InvalidDeleteOperation, #[error("MaxInvitationsError")] MaxInvitationsError, #[error("RoleNotFound")] RoleNotFound, #[error("InvalidRoleOperationWithMessage")] InvalidRoleOperationWithMessage(String), #[error("RoleNameParsingError")] RoleNameParsingError, #[error("RoleNameAlreadyExists")] RoleNameAlreadyExists, #[error("TotpNotSetup")] TotpNotSetup, #[error("InvalidTotp")] InvalidTotp, #[error("TotpRequired")] TotpRequired, #[error("InvalidRecoveryCode")] InvalidRecoveryCode, #[error("TwoFactorAuthRequired")] TwoFactorAuthRequired, #[error("TwoFactorAuthNotSetup")] TwoFactorAuthNotSetup, #[error("TOTP secret not found")] TotpSecretNotFound, #[error("User auth method already exists")] UserAuthMethodAlreadyExists, #[error("Invalid user auth method operation")] InvalidUserAuthMethodOperation, #[error("Auth config parsing error")] AuthConfigParsingError, #[error("Invalid SSO request")] SSOFailed, #[error("profile_id missing in JWT")] JwtProfileIdMissing, #[error("Maximum attempts reached for TOTP")] MaxTotpAttemptsReached, #[error("Maximum attempts reached for Recovery Code")] MaxRecoveryCodeAttemptsReached, #[error("Forbidden tenant id")] ForbiddenTenantId, #[error("Error Uploading file to Theme Storage")] ErrorUploadingFile, #[error("Error Retrieving file from Theme Storage")] ErrorRetrievingFile, #[error("Theme not found")] ThemeNotFound, #[error("Theme with lineage already exists")] ThemeAlreadyExists, #[error("Invalid field: {0} in lineage")] InvalidThemeLineage(String), #[error("Missing required field: email_config")] MissingEmailConfig, #[error("Invalid Auth Method Operation: {0}")] InvalidAuthMethodOperationWithMessage(String), #[error("Invalid Clone Connector Operation: {0}")] InvalidCloneConnectorOperation(String), #[error("Error cloning connector: {0}")] ErrorCloningConnector(String), }
{ "chunk": null, "crate": "router", "enum_name": "UserErrors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_4789661003277711477
clm
enum
// hyperswitch/crates/router/src/core/errors/chat.rs pub enum ChatErrors { #[error("User InternalServerError")] InternalServerError, #[error("Missing Config error")] MissingConfigError, #[error("Chat response deserialization failed")] ChatResponseDeserializationFailed, #[error("Unauthorized access")] UnauthorizedAccess, }
{ "chunk": null, "crate": "router", "enum_name": "ChatErrors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6594640552745993290
clm
enum
// hyperswitch/crates/router/src/core/errors/user/sample_data.rs pub enum SampleDataError { #[error["Internal Server Error"]] InternalServerError, #[error("Data Does Not Exist")] DataDoesNotExist, #[error("Invalid Parameters")] InvalidParameters, #[error["Invalid Records"]] InvalidRange, }
{ "chunk": null, "crate": "router", "enum_name": "SampleDataError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3522784439579102645
clm
enum
// hyperswitch/crates/router/src/core/webhooks/types.rs pub enum ScheduleWebhookRetry { WithProcessTracker(Box<storage::ProcessTracker>), NoSchedule, }
{ "chunk": null, "crate": "router", "enum_name": "ScheduleWebhookRetry", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-6736964077020047721
clm
enum
// hyperswitch/crates/router/src/core/webhooks/network_tokenization_incoming.rs pub enum NetworkTokenWebhookResponse { PanMetadataUpdate(pm_types::PanMetadataUpdateBody), NetworkTokenMetadataUpdate(pm_types::NetworkTokenMetaDataUpdateBody), }
{ "chunk": null, "crate": "router", "enum_name": "NetworkTokenWebhookResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3522784439579102645
clm
enum
// hyperswitch/crates/router/src/core/webhooks/outgoing.rs enum ScheduleWebhookRetry { WithProcessTracker(Box<storage::ProcessTracker>), NoSchedule, }
{ "chunk": null, "crate": "router", "enum_name": "ScheduleWebhookRetry", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_965080369360809984
clm
enum
// hyperswitch/crates/router/src/core/webhooks/webhook_events.rs enum MerchantAccountOrProfile { MerchantAccount(Box<domain::MerchantAccount>), Profile(Box<domain::Profile>), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountOrProfile", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_183649549904504408
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub enum StoreLockerReq { LockerCard(StoreCardReq), LockerGeneric(StoreGenericReq), }
{ "chunk": null, "crate": "router", "enum_name": "StoreLockerReq", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1152216507177531843
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub enum VaultPaymentMethod { Card(String), Wallet(String), BankTransfer(String), BankRedirect(String), BankDebit(String), }
{ "chunk": null, "crate": "router", "enum_name": "VaultPaymentMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-8786517781949001064
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub enum VaultPayoutMethod { Card(String), Bank(String), Wallet(String), BankRedirect(String), }
{ "chunk": null, "crate": "router", "enum_name": "VaultPayoutMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3805148235737715363
clm
enum
// hyperswitch/crates/router/src/utils/currency.rs pub enum ForexError { #[error("API error")] ApiError, #[error("API timeout")] ApiTimeout, #[error("API unresponsive")] ApiUnresponsive, #[error("Conversion error")] ConversionError, #[error("Could not acquire the lock for cache entry")] CouldNotAcquireLock, #[error("Provided currency not acceptable")] CurrencyNotAcceptable, #[error("Forex configuration error: {0}")] ConfigurationError(String), #[error("Incorrect entries in default Currency response")] DefaultCurrencyParsingError, #[error("Entry not found in cache")] EntryNotFound, #[error("Forex data unavailable")] ForexDataUnavailable, #[error("Expiration time invalid")] InvalidLogExpiry, #[error("Error reading local")] LocalReadError, #[error("Error writing to local cache")] LocalWriteError, #[error("Json Parsing error")] ParsingError, #[error("Aws Kms decryption error")] AwsKmsDecryptionFailed, #[error("Error connecting to redis")] RedisConnectionError, #[error("Not able to release write lock")] RedisLockReleaseFailed, #[error("Error writing to redis")] RedisWriteError, #[error("Not able to acquire write lock")] WriteLockNotAcquired, }
{ "chunk": null, "crate": "router", "enum_name": "ForexError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3764779607931470974
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentFlow { Mandates, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1759841260430439996
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum ApplePayPreDecryptFlow { #[default] ConnectorTokenization, NetworkTokenization, }
{ "chunk": null, "crate": "router", "enum_name": "ApplePayPreDecryptFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2952033673123520063
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum GooglePayPreDecryptFlow { #[default] ConnectorTokenization, NetworkTokenization, }
{ "chunk": null, "crate": "router", "enum_name": "GooglePayPreDecryptFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-132982133278630
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentMethodTypeTokenFilter { #[serde(deserialize_with = "deserialize_hashset")] EnableOnly(HashSet<diesel_models::enums::PaymentMethodType>), #[serde(deserialize_with = "deserialize_hashset")] DisableOnly(HashSet<diesel_models::enums::PaymentMethodType>), #[default] AllAccepted, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodTypeTokenFilter", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_1652838646998535002
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentMethodFilterKey { PaymentMethodType(enums::PaymentMethodType), CardNetwork(enums::CardNetwork), }
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodFilterKey", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5496889641132538002
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum DecryptionScheme { #[default] #[serde(rename = "RSA-OAEP")] RsaOaep, #[serde(rename = "RSA-OAEP-256")] RsaOaep256, }
{ "chunk": null, "crate": "router", "enum_name": "DecryptionScheme", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3967756015059984867
clm
enum
// hyperswitch/crates/router/src/connector/utils.rs pub enum CardIssuer { AmericanExpress, Master, Maestro, Visa, Discover, DinersClub, JCB, CarteBlanche, }
{ "chunk": null, "crate": "router", "enum_name": "CardIssuer", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5431557849448877454
clm
enum
// hyperswitch/crates/router/src/connector/utils.rs pub enum PaymentMethodDataType { Card, Knet, Benefit, MomoAtm, CardRedirect, AliPayQr, AliPayRedirect, AliPayHkRedirect, AmazonPay, AmazonPayRedirect, Paysera, Skrill, MomoRedirect, KakaoPayRedirect, GoPayRedirect, GcashRedirect, ApplePay, ApplePayRedirect, ApplePayThirdPartySdk, DanaRedirect, DuitNow, GooglePay, Bluecode, GooglePayRedirect, GooglePayThirdPartySdk, MbWayRedirect, MobilePayRedirect, PaypalRedirect, PaypalSdk, Paze, SamsungPay, TwintRedirect, VippsRedirect, TouchNGoRedirect, WeChatPayRedirect, WeChatPayQr, CashappQr, SwishQr, KlarnaRedirect, KlarnaSdk, AffirmRedirect, AfterpayClearpayRedirect, PayBrightRedirect, WalleyRedirect, AlmaRedirect, AtomeRedirect, BreadpayRedirect, FlexitiRedirect, BancontactCard, Bizum, Blik, Eft, Eps, Giropay, Ideal, Interac, LocalBankRedirect, OnlineBankingCzechRepublic, OnlineBankingFinland, OnlineBankingPoland, OnlineBankingSlovakia, OpenBankingUk, Przelewy24, Sofort, Trustly, OnlineBankingFpx, OnlineBankingThailand, AchBankDebit, SepaBankDebit, SepaGuarenteedDebit, BecsBankDebit, BacsBankDebit, AchBankTransfer, SepaBankTransfer, BacsBankTransfer, MultibancoBankTransfer, PermataBankTransfer, BcaBankTransfer, BniVaBankTransfer, BriVaBankTransfer, CimbVaBankTransfer, DanamonVaBankTransfer, MandiriVaBankTransfer, Pix, Pse, Crypto, MandatePayment, Reward, Upi, Boleto, Efecty, PagoEfectivo, RedCompra, RedPagos, Alfamart, Indomaret, Oxxo, SevenEleven, Lawson, MiniStop, FamilyMart, Seicomart, PayEasy, Givex, BhnCardNetwork, PaySafeCar, CardToken, LocalBankTransfer, Mifinity, Fps, PromptPay, VietQr, OpenBanking, NetworkToken, DirectCarrierBilling, InstantBankTransfer, InstantBankTransferFinland, InstantBankTransferPoland, RevolutPay, IndonesianBankTransfer, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodDataType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_2770558535448700111
clm
enum
// hyperswitch/crates/router/src/events/outgoing_webhook_logs.rs pub enum OutgoingWebhookEventContent { #[cfg(feature = "v1")] Payment { payment_id: common_utils::id_type::PaymentId, content: Value, }, #[cfg(feature = "v2")] Payment { payment_id: common_utils::id_type::GlobalPaymentId, content: Value, }, Payout { payout_id: common_utils::id_type::PayoutId, content: Value, }, #[cfg(feature = "v1")] Refund { payment_id: common_utils::id_type::PaymentId, refund_id: String, content: Value, }, #[cfg(feature = "v2")] Refund { payment_id: common_utils::id_type::GlobalPaymentId, refund_id: common_utils::id_type::GlobalRefundId, content: Value, }, #[cfg(feature = "v1")] Dispute { payment_id: common_utils::id_type::PaymentId, attempt_id: String, dispute_id: String, content: Value, }, #[cfg(feature = "v2")] Dispute { payment_id: common_utils::id_type::GlobalPaymentId, attempt_id: String, dispute_id: String, content: Value, }, Mandate { payment_method_id: String, mandate_id: String, content: Value, }, }
{ "chunk": null, "crate": "router", "enum_name": "OutgoingWebhookEventContent", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_5483897640049265175
clm
enum
// hyperswitch/crates/router/src/events/audit_events.rs pub enum AuditEventType { Error { error_message: String, }, PaymentCreated, ConnectorDecided, ConnectorCalled, RefundCreated, RefundSuccess, RefundFail, PaymentConfirm { client_src: Option<String>, client_ver: Option<String>, frm_message: Box<Option<FraudCheck>>, }, PaymentCancelled { cancellation_reason: Option<String>, }, PaymentCapture { capture_amount: Option<MinorUnit>, multiple_capture_count: Option<i16>, }, PaymentUpdate { amount: Amount, }, PaymentApprove, PaymentCreate, PaymentStatus, PaymentCompleteAuthorize, PaymentReject { error_code: Option<String>, error_message: Option<String>, }, }
{ "chunk": null, "crate": "router", "enum_name": "AuditEventType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-8723555319689422287
clm
enum
// hyperswitch/crates/router/src/routes/lock_utils.rs pub enum ApiIdentifier { Payments, Refunds, Webhooks, Organization, MerchantAccount, MerchantConnector, Configs, Customers, Ephemeral, Health, Mandates, PaymentMethods, PaymentMethodAuth, Payouts, Disputes, CardsInfo, Files, Cache, Profile, Verification, ApiKeys, PaymentLink, Routing, Subscription, Blocklist, Forex, RustLockerMigration, Gsm, Role, User, UserRole, ConnectorOnboarding, Recon, AiWorkflow, Poll, ApplePayCertificatesMigration, Relay, Documentation, CardNetworkTokenization, Hypersense, PaymentMethodSession, ProcessTracker, Authentication, Proxy, ProfileAcquirer, ThreeDsDecisionRule, GenericTokenization, RecoveryRecovery, }
{ "chunk": null, "crate": "router", "enum_name": "ApiIdentifier", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6363859089428879992
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum Flow { DummyPaymentCreate, DummyPaymentRetrieve, DummyPaymentAuthorize, DummyPaymentComplete, DummyRefundCreate, DummyRefundRetrieve, }
{ "chunk": null, "crate": "router", "enum_name": "Flow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5234593223720183087
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectors { #[serde(rename = "phonypay")] #[strum(serialize = "phonypay")] PhonyPay, #[serde(rename = "fauxpay")] #[strum(serialize = "fauxpay")] FauxPay, #[serde(rename = "pretendpay")] #[strum(serialize = "pretendpay")] PretendPay, StripeTest, AdyenTest, CheckoutTest, PaypalTest, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4591328878730290733
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorStatus { Succeeded, #[default] Processing, Failed, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-2721085045498580344
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPaymentMethodData { Card(DummyConnectorCard), Upi(DummyConnectorUpi), Wallet(DummyConnectorWallet), PayLater(DummyConnectorPayLater), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPaymentMethodData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_533529492619259472
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPaymentMethodType { #[default] Card, Upi(DummyConnectorUpiType), Wallet(DummyConnectorWallet), PayLater(DummyConnectorPayLater), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPaymentMethodType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_7454323617680475564
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorUpi { UpiCollect(DummyConnectorUpiCollect), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorUpi", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_7008491724716232635
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorWallet { GooglePay, Paypal, WeChatPay, MbWay, AliPay, AliPayHK, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorWallet", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-664655473921109455
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorUpiType { UpiCollect, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorUpiType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-9081812430008616501
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPayLater { Klarna, Affirm, AfterPayClearPay, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPayLater", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3511331028834255290
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorNextAction { RedirectToUrl(String), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorNextAction", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-5396055275170193095
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/errors.rs pub enum ErrorType { ServerNotAvailable, ObjectNotFound, InvalidRequestError, }
{ "chunk": null, "crate": "router", "enum_name": "ErrorType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_8029490991258404945
clm
enum
// hyperswitch/crates/router/src/services/encryption.rs pub enum EncryptionAlgorithm { A128GCM, A256GCM, }
{ "chunk": null, "crate": "router", "enum_name": "EncryptionAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4908481669999202089
clm
enum
// hyperswitch/crates/router/src/services/kafka.rs pub enum KafkaError { #[error("Generic Kafka Error")] GenericError, #[error("Kafka not implemented")] NotImplemented, #[error("Kafka Initialization Error")] InitializationError, }
{ "chunk": null, "crate": "router", "enum_name": "KafkaError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_7668906361805174588
clm
enum
// hyperswitch/crates/router/src/services/authentication.rs pub enum AuthenticationType { ApiKey { merchant_id: id_type::MerchantId, key_id: id_type::ApiKeyId, }, AdminApiKey, AdminApiAuthWithMerchantId { merchant_id: id_type::MerchantId, }, OrganizationJwt { org_id: id_type::OrganizationId, user_id: String, }, MerchantJwt { merchant_id: id_type::MerchantId, user_id: Option<String>, }, MerchantJwtWithProfileId { merchant_id: id_type::MerchantId, profile_id: Option<id_type::ProfileId>, user_id: String, }, UserJwt { user_id: String, }, SinglePurposeJwt { user_id: String, purpose: TokenPurpose, }, SinglePurposeOrLoginJwt { user_id: String, purpose: Option<TokenPurpose>, role_id: Option<String>, }, MerchantId { merchant_id: id_type::MerchantId, }, PublishableKey { merchant_id: id_type::MerchantId, }, WebhookAuth { merchant_id: id_type::MerchantId, }, InternalMerchantIdProfileId { merchant_id: id_type::MerchantId, profile_id: Option<id_type::ProfileId>, }, NoAuth, }
{ "chunk": null, "crate": "router", "enum_name": "AuthenticationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1111191557654122604
clm
enum
// hyperswitch/crates/router/src/services/authentication.rs pub enum ExternalServiceType { Hypersense, }
{ "chunk": null, "crate": "router", "enum_name": "ExternalServiceType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_57440048319916946
clm
enum
// hyperswitch/crates/router/src/services/api.rs pub enum AuthFlow { Client, Merchant, }
{ "chunk": null, "crate": "router", "enum_name": "AuthFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-4484061145872323045
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum AuthType { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] ApiKey { api_key: Secret<String> }, }
{ "chunk": null, "crate": "router", "enum_name": "AuthType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_6326598108052111217
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum AuthRuleType { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] /// and [`PublishableKey`] authentication methods. ApiKey { api_key: Secret<String>, identifiers: Identifiers, }, }
{ "chunk": null, "crate": "router", "enum_name": "AuthRuleType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-1500320703825313424
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum Identifiers { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] ApiKey { merchant_id: common_utils::id_type::MerchantId, key_id: common_utils::id_type::ApiKeyId, }, /// [`PublishableKey`] is an authentication method that uses a publishable key. This is used with [`PublishableKey`] PublishableKey { merchant_id: String }, }
{ "chunk": null, "crate": "router", "enum_name": "Identifiers", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_router_-3976523110324529764
clm
enum
// hyperswitch/crates/router/src/services/authentication/detached.rs pub enum PayloadType { ApiKey, PublishableKey, }
{ "chunk": null, "crate": "router", "enum_name": "PayloadType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }