id stringlengths 20 153 | type stringclasses 1
value | granularity stringclasses 14
values | content stringlengths 16 84.3k | metadata dict |
|---|---|---|---|---|
hyperswitch_struct_router_-6003836148371922784 | clm | struct | // hyperswitch/crates/router/src/services/kafka/authentication_event.rs
pub struct KafkaAuthenticationEvent<'a> {
pub authentication_id: &'a common_utils::id_type::AuthenticationId,
pub merchant_id: &'a common_utils::id_type::MerchantId,
pub authentication_connector: Option<&'a String>,
pub connector_a... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_3555836171571593950 | clm | struct | // hyperswitch/crates/router/src/services/kafka/revenue_recovery.rs
pub struct RevenueRecovery<'a> {
pub merchant_id: &'a id_type::MerchantId,
pub invoice_amount: MinorUnit,
pub invoice_currency: &'a common_enums::Currency,
#[serde(default, with = "time::serde::timestamp::nanoseconds::option")]
pub... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_3623471478818845566 | clm | struct | // hyperswitch/crates/router/src/services/kafka/authentication.rs
pub struct KafkaAuthentication<'a> {
pub authentication_id: &'a common_utils::id_type::AuthenticationId,
pub merchant_id: &'a common_utils::id_type::MerchantId,
pub authentication_connector: Option<&'a String>,
pub connector_authenticati... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-3584176626543216021 | clm | struct | // hyperswitch/crates/router/src/services/kafka/payment_intent.rs
pub struct KafkaPaymentIntent<'a> {
pub payment_id: &'a id_type::PaymentId,
pub merchant_id: &'a id_type::MerchantId,
pub status: storage_enums::IntentStatus,
pub amount: common_types::MinorUnit,
pub currency: Option<storage_enums::C... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-3584176626543216021 | clm | struct | // hyperswitch/crates/router/src/services/kafka/payment_intent.rs
pub struct KafkaPaymentIntent<'a> {
pub payment_id: &'a id_type::GlobalPaymentId,
pub merchant_id: &'a id_type::MerchantId,
pub status: storage_enums::IntentStatus,
pub amount: common_types::MinorUnit,
pub currency: storage_enums::Cu... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-2704795561923535134 | clm | struct | // hyperswitch/crates/router/src/services/api/client.rs
pub struct ProxyClient {
proxy_config: Proxy,
client: reqwest::Client,
request_id: Option<RequestId>,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_5658603309551214980 | clm | struct | // hyperswitch/crates/router/src/services/api/client.rs
pub struct MockApiClient;
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-1407683800736931960 | clm | struct | // hyperswitch/crates/router/src/services/authorization/roles.rs
pub struct RoleInfo {
role_id: String,
role_name: String,
groups: Vec<PermissionGroup>,
scope: RoleScope,
entity_type: EntityType,
is_invitable: bool,
is_deletable: bool,
is_updatable: bool,
is_internal: bool,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-8809952816417343813 | clm | struct | // hyperswitch/crates/router/src/services/authentication/decision.rs
pub struct RuleRequest {
/// [`tag`] similar to a partition key, which can be used by the decision service to tag rules
/// by partitioning identifiers. (e.g. `tenant_id`)
pub tag: String,
/// [`variant`] is the type of authentication... | {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-7508492547786428917 | clm | struct | // hyperswitch/crates/router/src/services/authentication/decision.rs
pub struct RuleDeleteRequest {
pub tag: String,
#[serde(flatten)]
pub variant: AuthType,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-4910432194766877730 | clm | struct | // hyperswitch/crates/router/src/services/authentication/detached.rs
pub struct ExtractedPayload {
pub payload_type: PayloadType,
pub merchant_id: Option<MerchantId>,
pub key_id: Option<ApiKeyId>,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_-2182507667292428806 | clm | struct | // hyperswitch/crates/router/src/services/email/types.rs
pub struct EmailToken {
email: String,
flow: domain::Origin,
exp: u64,
entity: Option<Entity>,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_struct_router_979237064177774097 | clm | struct | // hyperswitch/crates/router/src/services/email/types.rs
pub struct Entity {
pub entity_id: String,
pub entity_type: EntityType,
}
| {
"chunk": null,
"crate": "router",
"enum_name": null,
"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,
"... |
hyperswitch_enum_storage_impl_-3916063419784602106 | clm | enum | // hyperswitch/crates/storage_impl/src/config.rs
pub enum QueueStrategy {
#[default]
Fifo,
Lifo,
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "QueueStrategy",
"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... |
hyperswitch_enum_storage_impl_-4049997505763838622 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum StorageError {
#[error("Initialization Error")]
InitializationError,
#[error("DatabaseError: {0:?}")]
DatabaseError(error_stack::Report<DatabaseError>),
#[error("ValueNotFound: {0}")]
ValueNotFound(String),
#[error("DuplicateValue: {... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "StorageError",
"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_... |
hyperswitch_enum_storage_impl_7500616186308112048 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum ConnectorError {
#[error("Error while obtaining URL for the integration")]
FailedToObtainIntegrationUrl,
#[error("Failed to encode connector request")]
RequestEncodingFailed,
#[error("Request encoding failed : {0}")]
RequestEncodingFaile... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "ConnectorError",
"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",
"star... |
hyperswitch_enum_storage_impl_8649713071241693593 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckDBError {
#[error("Error while connecting to database")]
DBError,
#[error("Error while writing to database")]
DBWriteError,
#[error("Error while reading element in the database")]
DBReadError,
#[error("Error while deleting... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckDBError",
"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",
"... |
hyperswitch_enum_storage_impl_-6585590219134178796 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckRedisError {
#[error("Failed to establish Redis connection")]
RedisConnectionError,
#[error("Failed to set key value in Redis")]
SetFailed,
#[error("Failed to get key value in Redis")]
GetFailed,
#[error("Failed to delete ... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckRedisError",
"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",
... |
hyperswitch_enum_storage_impl_-6419673256305861030 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckLockerError {
#[error("Failed to establish Locker connection")]
FailedToCallLocker,
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckLockerError",
"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",... |
hyperswitch_enum_storage_impl_7681272730625270873 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckGRPCServiceError {
#[error("Failed to establish connection with gRPC service")]
FailedToCallService,
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckGRPCServiceError",
"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": "hyperswi... |
hyperswitch_enum_storage_impl_-3674381863463938168 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum RecoveryError {
#[error("Failed to make a recovery payment")]
PaymentCallFailed,
#[error("Encountered a Process Tracker Task Failure")]
ProcessTrackerFailure,
#[error("The encountered task is invalid")]
InvalidTask,
#[error("The Proc... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "RecoveryError",
"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... |
hyperswitch_enum_storage_impl_7902264916271226125 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckDecisionEngineError {
#[error("Failed to establish Decision Engine connection")]
FailedToCallDecisionEngineService,
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckDecisionEngineError",
"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": "hyper... |
hyperswitch_enum_storage_impl_-8913956666361246648 | clm | enum | // hyperswitch/crates/storage_impl/src/errors.rs
pub enum HealthCheckUnifiedConnectorServiceError {
#[error("Failed to establish Unified Connector Service connection")]
FailedToCallUnifiedConnectorService,
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "HealthCheckUnifiedConnectorServiceError",
"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_enum_storage_impl_-3050511548117698259 | clm | enum | // hyperswitch/crates/storage_impl/src/redis/cache.rs
pub enum CacheKind<'a> {
Config(Cow<'a, str>),
Accounts(Cow<'a, str>),
Routing(Cow<'a, str>),
DecisionManager(Cow<'a, str>),
Surcharge(Cow<'a, str>),
CGraph(Cow<'a, str>),
SuccessBasedDynamicRoutingCache(Cow<'a, str>),
EliminationBas... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "CacheKind",
"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_lin... |
hyperswitch_enum_storage_impl_-6513875257357625799 | clm | enum | // hyperswitch/crates/storage_impl/src/redis/kv_store.rs
pub enum PartitionKey<'a> {
MerchantIdPaymentId {
merchant_id: &'a common_utils::id_type::MerchantId,
payment_id: &'a common_utils::id_type::PaymentId,
},
CombinationKey {
combination: &'a str,
},
MerchantIdCustomerId ... | {
"chunk": null,
"crate": "storage_impl",
"enum_name": "PartitionKey",
"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_... |
hyperswitch_enum_storage_impl_1783672693385989604 | clm | enum | // hyperswitch/crates/storage_impl/src/redis/kv_store.rs
pub enum KvResult<T: de::DeserializeOwned> {
HGet(T),
Get(T),
Hset(()),
SetNx(redis_interface::SetnxReply),
HSetNx(redis_interface::HsetnxReply),
Scan(Vec<T>),
}
| {
"chunk": null,
"crate": "storage_impl",
"enum_name": "KvResult",
"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... |
hyperswitch_enum_common_utils_3593055433700278093 | clm | enum | // hyperswitch/crates/common_utils/src/request.rs
pub enum Method {
Get,
Post,
Put,
Delete,
Patch,
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "Method",
"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":... |
hyperswitch_enum_common_utils_424220364191721985 | clm | enum | // hyperswitch/crates/common_utils/src/request.rs
pub enum ContentType {
Json,
FormUrlEncoded,
FormData,
Xml,
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "ContentType",
"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_l... |
hyperswitch_enum_common_utils_5417709407131562407 | clm | enum | // hyperswitch/crates/common_utils/src/types.rs
pub enum Surcharge {
/// Fixed Surcharge value
Fixed(MinorUnit),
/// Surcharge percentage
Rate(Percentage<{ consts::SURCHARGE_PERCENTAGE_PRECISION_LENGTH }>),
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "Surcharge",
"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_lin... |
hyperswitch_enum_common_utils_2404045382051449764 | clm | enum | // hyperswitch/crates/common_utils/src/types.rs
pub(crate) enum LengthStringError {
#[error("the maximum allowed length for this field is {0}")]
/// Maximum length of string violated
MaxLengthViolated(u16),
#[error("the minimum required length for this field is {0}")]
/// Minimum length of string ... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "LengthStringError",
"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",
"s... |
hyperswitch_enum_common_utils_-1841052455610435618 | clm | enum | // hyperswitch/crates/common_utils/src/types.rs
pub enum ConnectorTransactionId {
/// Actual transaction identifier
TxnId(String),
/// Hashed value of the transaction identifier
HashedData(String),
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "ConnectorTransactionId",
"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",... |
hyperswitch_enum_common_utils_-3869322201152149363 | clm | enum | // hyperswitch/crates/common_utils/src/events.rs
pub enum ApiEventsType {
Payout {
payout_id: id_type::PayoutId,
},
#[cfg(feature = "v1")]
Payment {
payment_id: id_type::PaymentId,
},
#[cfg(feature = "v2")]
Payment {
payment_id: id_type::GlobalPaymentId,
},
#... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "ApiEventsType",
"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... |
hyperswitch_enum_common_utils_4449072640679014092 | clm | enum | // hyperswitch/crates/common_utils/src/lib.rs
pub enum DateFormat {
/// Format the date in 20191105081132 format
YYYYMMDDHHmmss,
/// Format the date in 20191105 format
YYYYMMDD,
/// Format the date in 201911050811 format
YYYYMMDDHHmm,
/// Format the date in 05112... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "DateFormat",
"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_li... |
hyperswitch_enum_common_utils_5801538034151141222 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum PhoneNumberStrategy {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "PhoneNumberStrategy",
"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",
... |
hyperswitch_enum_common_utils_-8598471924486284316 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum EncryptionStrategy {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "EncryptionStrategy",
"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",
"... |
hyperswitch_enum_common_utils_-6023843586621278242 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum ClientSecret {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "ClientSecret",
"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_... |
hyperswitch_enum_common_utils_-7951117955181927052 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum EmailStrategy {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "EmailStrategy",
"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... |
hyperswitch_enum_common_utils_4914827823089049868 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum IpAddress {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "IpAddress",
"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_lin... |
hyperswitch_enum_common_utils_6536316074385909396 | clm | enum | // hyperswitch/crates/common_utils/src/pii.rs
pub enum UpiVpaMaskingStrategy {}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "UpiVpaMaskingStrategy",
"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",
... |
hyperswitch_enum_common_utils_-8564649262373898225 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum ParsingError {
///Failed to parse enum
#[error("Failed to parse enum: {0}")]
EnumParseFailure(&'static str),
///Failed to parse struct
#[error("Failed to parse struct: {0}")]
StructParseFailure(&'static str),
/// Failed to encode dat... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "ParsingError",
"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_... |
hyperswitch_enum_common_utils_-5500296931629866088 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum ValidationError {
/// The provided input is missing a required field.
#[error("Missing required field: {field_name}")]
MissingRequiredField { field_name: String },
/// An incorrect value was provided for the field specified by `field_name`.
... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "ValidationError",
"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",
"sta... |
hyperswitch_enum_common_utils_2459284993274673697 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum CryptoError {
/// The cryptographic algorithm was unable to encode the message
#[error("Failed to encode given message")]
EncodingFailed,
/// The cryptographic algorithm was unable to decode the message
#[error("Failed to decode given messag... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "CryptoError",
"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_l... |
hyperswitch_enum_common_utils_-3162622181923241173 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum QrCodeError {
/// Failed to encode data into Qr code
#[error("Failed to create Qr code")]
FailedToCreateQrCode,
/// Failed to parse hex color
#[error("Invalid hex color code supplied")]
InvalidHexColor,
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "QrCodeError",
"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_l... |
hyperswitch_enum_common_utils_-873288589785599057 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum PercentageError {
/// Percentage Value provided was invalid
#[error("Invalid Percentage value")]
InvalidPercentageValue,
/// Error occurred while calculating percentage
#[error("Failed apply percentage of {percentage} on {amount}")]
Una... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "PercentageError",
"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",
"sta... |
hyperswitch_enum_common_utils_-852995500771368163 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum KeyManagerClientError {
#[error("Failed to construct header from the given value")]
FailedtoConstructHeader,
#[error("Failed to send request to Keymanager")]
RequestNotSent(String),
#[error("URL encoding of request failed")]
UrlEncodingF... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "KeyManagerClientError",
"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",
... |
hyperswitch_enum_common_utils_-3423133729832000314 | clm | enum | // hyperswitch/crates/common_utils/src/errors.rs
pub enum KeyManagerError {
#[error("Failed to add key to the KeyManager")]
KeyAddFailed,
#[error("Failed to transfer the key to the KeyManager")]
KeyTransferFailed,
#[error("Failed to Encrypt the data in the KeyManager")]
EncryptionFailed,
#[... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "KeyManagerError",
"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",
"sta... |
hyperswitch_enum_common_utils_4814382256786575520 | clm | enum | // hyperswitch/crates/common_utils/src/ucs_types.rs
pub enum UcsReferenceId {
/// A payment reference ID.
///
/// This variant wraps a [`PaymentReferenceId`](id_type::PaymentReferenceId)
/// and is used to identify a payment transaction within the UCS.
Payment(id_type::PaymentReferenceId),
/// ... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "UcsReferenceId",
"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",
"star... |
hyperswitch_enum_common_utils_2869793796200234868 | clm | enum | // hyperswitch/crates/common_utils/src/id_type.rs
pub(crate) enum LengthIdError {
#[error("the maximum allowed length for this field is {0}")]
/// Maximum length of string violated
MaxLengthViolated(u8),
#[error("the minimum required length for this field is {0}")]
/// Minimum length of string vio... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "LengthIdError",
"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... |
hyperswitch_enum_common_utils_-6490563977918328864 | clm | enum | // hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub enum AdditionalPayoutMethodData {
/// Additional data for card payout method
Card(Box<CardAdditionalData>),
/// Additional data for bank payout method
Bank(Box<BankAdditionalData>),
/// Additional data for wallet payout method
Wa... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "AdditionalPayoutMethodData",
"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": "hyperswit... |
hyperswitch_enum_common_utils_-6475930012327134150 | clm | enum | // hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub enum BankAdditionalData {
/// Additional data for ach bank transfer payout method
Ach(Box<AchBankTransferAdditionalData>),
/// Additional data for bacs bank transfer payout method
Bacs(Box<BacsBankTransferAdditionalData>),
/// Additi... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "BankAdditionalData",
"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",
"... |
hyperswitch_enum_common_utils_1504777100099800635 | clm | enum | // hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub enum WalletAdditionalData {
/// Additional data for paypal wallet payout method
Paypal(Box<PaypalAdditionalData>),
/// Additional data for venmo wallet payout method
Venmo(Box<VenmoAdditionalData>),
/// Additional data for Apple pay ... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "WalletAdditionalData",
"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",
... |
hyperswitch_enum_common_utils_6857059115411809729 | clm | enum | // hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub enum BankRedirectAdditionalData {
/// Additional data for interac bank redirect payout method
Interac(Box<InteracAdditionalData>),
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "BankRedirectAdditionalData",
"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": "hyperswit... |
hyperswitch_enum_common_utils_6739293932131309132 | clm | enum | // hyperswitch/crates/common_utils/src/types/keymanager.rs
pub enum Identifier {
User(String),
Merchant(id_type::MerchantId),
UserAuth(String),
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "Identifier",
"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_li... |
hyperswitch_enum_common_utils_4598110210753190177 | clm | enum | // hyperswitch/crates/common_utils/src/types/authentication.rs
pub enum AuthInfo {
/// OrgLevel: Authentication at the organization level
OrgLevel {
/// org_id: OrganizationId
org_id: id_type::OrganizationId,
},
/// MerchantLevel: Authentication at the merchant level
MerchantLevel {... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "AuthInfo",
"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... |
hyperswitch_enum_common_utils_4165590710573999903 | clm | enum | // hyperswitch/crates/common_utils/src/types/authentication.rs
pub enum ResourceId {
/// Global Payment ID (Not exposed in api_models version of enum)
Payment(id_type::GlobalPaymentId),
/// Global Customer ID
Customer(id_type::GlobalCustomerId),
/// Global Payment Methods Session ID
PaymentMeth... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "ResourceId",
"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_li... |
hyperswitch_enum_common_utils_5121478010980038406 | clm | enum | // hyperswitch/crates/common_utils/src/types/user/theme.rs
pub enum ThemeLineage {
/// Tenant lineage variant
Tenant {
/// tenant_id: TenantId
tenant_id: id_type::TenantId,
},
/// Org lineage variant
Organization {
/// tenant_id: TenantId
tenant_id: id_type::TenantId... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "ThemeLineage",
"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_... |
hyperswitch_enum_common_utils_7124672491596467302 | clm | enum | // hyperswitch/crates/common_utils/src/id_type/global_id.rs
pub enum CellIdError {
#[error("cell id error: {0}")]
InvalidCellLength(LengthIdError),
#[error("{0}")]
InvalidCellIdFormat(AlphaNumericIdError),
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "CellIdError",
"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_l... |
hyperswitch_enum_common_utils_-3015830752437195408 | clm | enum | // hyperswitch/crates/common_utils/src/id_type/global_id.rs
pub(crate) enum GlobalIdError {
/// The format for the global id is invalid
#[error("The id format is invalid, expected format is {{cell_id:5}}_{{entity_prefix:3}}_{{uuid:32}}_{{random:24}}")]
InvalidIdFormat,
/// LengthIdError and Alphanumer... | {
"chunk": null,
"crate": "common_utils",
"enum_name": "GlobalIdError",
"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... |
hyperswitch_enum_common_utils_-3135189706636425944 | clm | enum | // hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs
pub enum GlobalPaymentMethodIdError {
#[error("Failed to construct GlobalPaymentMethodId")]
ConstructionError,
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "GlobalPaymentMethodIdError",
"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": "hyperswit... |
hyperswitch_enum_common_utils_7193796658871556631 | clm | enum | // hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs
pub enum GlobalPaymentMethodSessionIdError {
#[error("Failed to construct GlobalPaymentMethodSessionId")]
ConstructionError,
}
| {
"chunk": null,
"crate": "common_utils",
"enum_name": "GlobalPaymentMethodSessionIdError",
"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": "hy... |
hyperswitch_enum_hyperswitch_domain_models_583287974639458824 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/tokenization.rs
pub enum TokenizationUpdate {
DeleteTokenizationRecordUpdate {
flag: Option<common_enums::enums::TokenizationFlag>,
},
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "TokenizationUpdate",
"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": "hype... |
hyperswitch_enum_hyperswitch_domain_models_-587549649932210162 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs
pub enum SyncRequestType {
MultipleCaptureSync(Vec<String>),
#[default]
SinglePaymentSync,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "SyncRequestType",
"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": "hypersw... |
hyperswitch_enum_hyperswitch_domain_models_4505362796769160535 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs
pub enum ResponseId {
ConnectorTransactionId(String),
EncodedData(String),
#[default]
NoResponseId,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ResponseId",
"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"... |
hyperswitch_enum_hyperswitch_domain_models_-1669021007982516888 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs
pub enum SplitRefundsRequest {
StripeSplitRefund(StripeSplitRefund),
AdyenSplitRefund(common_types::domain::AdyenSplitData),
XenditSplitRefund(common_types::domain::XenditSplitSubMerchantData),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "SplitRefundsRequest",
"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": "hyp... |
hyperswitch_enum_hyperswitch_domain_models_4091339714572253374 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs
pub enum ChargeRefundsOptions {
Destination(DestinationChargeRefund),
Direct(DirectChargeRefund),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ChargeRefundsOptions",
"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": "hy... |
hyperswitch_enum_hyperswitch_domain_models_-4407282327717457844 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs
pub enum PaymentMethodVaultSourceDetails {
ExternalVault {
external_vault_source: id_type::MerchantConnectorAccountId,
},
#[default]
InternalVault,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentMethodVaultSourceDetails",
"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,
... |
hyperswitch_enum_hyperswitch_domain_models_3031288754190865118 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs
pub enum MerchantAccountUpdate {
Update {
merchant_name: OptionalEncryptableName,
merchant_details: OptionalEncryptableValue,
return_url: Option<String>,
webhook_details: Option<diesel_models::business_profile::... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantAccountUpdate",
"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": "h... |
hyperswitch_enum_hyperswitch_domain_models_3031288754190865118 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs
pub enum MerchantAccountUpdate {
Update {
merchant_name: OptionalEncryptableName,
merchant_details: OptionalEncryptableValue,
publishable_key: Option<String>,
metadata: Option<Box<pii::SecretSerdeValue>>,
},... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantAccountUpdate",
"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": "h... |
hyperswitch_enum_hyperswitch_domain_models_-6780445623845714022 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs
pub enum MerchantConnectorAccountTypeDetails {
MerchantConnectorAccount(Box<MerchantConnectorAccount>),
MerchantConnectorDetails(common_types::domain::MerchantConnectorAuthDetails),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantConnectorAccountTypeDetails",
"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... |
hyperswitch_enum_hyperswitch_domain_models_2773961400806556605 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs
pub enum MerchantConnectorAccountUpdate {
Update {
connector_type: Option<enums::ConnectorType>,
connector_name: Option<String>,
connector_account_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>,
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantConnectorAccountUpdate",
"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,
"... |
hyperswitch_enum_hyperswitch_domain_models_2773961400806556605 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs
pub enum MerchantConnectorAccountUpdate {
Update {
connector_type: Option<enums::ConnectorType>,
connector_account_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>,
disabled: Option<bool>,
paym... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantConnectorAccountUpdate",
"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,
"... |
hyperswitch_enum_hyperswitch_domain_models_-3981606747808911955 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payments.rs
pub enum VaultOperation {
ExistingVaultData(VaultData),
SaveCardData(CardDataForVault),
SaveCardAndNetworkTokenData(Box<CardAndNetworkTokenDataForVault>),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "VaultOperation",
"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": "hyperswi... |
hyperswitch_enum_hyperswitch_domain_models_-3990180003948124372 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payments.rs
pub enum VaultData {
Card(payment_method_data::Card),
NetworkToken(payment_method_data::NetworkTokenData),
CardAndNetworkToken(Box<CardAndNetworkTokenData>),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "VaultData",
"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",... |
hyperswitch_enum_hyperswitch_domain_models_-2840923358772575614 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/merchant_context.rs
pub enum MerchantContext {
/// Represents a normal operation merchant context.
NormalMerchant(Box<Context>),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MerchantContext",
"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": "hypersw... |
hyperswitch_enum_hyperswitch_domain_models_8343082187615625678 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/lib.rs
pub enum RemoteStorageObject<T: ForeignIDRef> {
ForeignID(String),
Object(T),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RemoteStorageObject",
"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": "hyp... |
hyperswitch_enum_hyperswitch_domain_models_-8313529235133367293 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/subscription.rs
pub enum SubscriptionStatus {
Active,
Created,
InActive,
Pending,
Trial,
Paused,
Unpaid,
Onetime,
Cancelled,
Failed,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "SubscriptionStatus",
"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": "hype... |
hyperswitch_enum_hyperswitch_domain_models_-3200140192467452054 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs
pub enum TokenizeDataRequest {
Card(TokenizeCardRequest),
ExistingPaymentMethod(TokenizePaymentMethodRequest),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "TokenizeDataRequest",
"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": "hyp... |
hyperswitch_enum_hyperswitch_domain_models_9186870079268601413 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/type_encryption.rs
pub enum CryptoOutput<T: Clone, S: masking::Strategy<T>> {
Operation(crypto::Encryptable<Secret<T, S>>),
OptionalOperation(Option<crypto::Encryptable<Secret<T, S>>>),
BatchOperation(FxHashMap<String, crypto::Encryptable<Secret<T, S>>>),... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "CryptoOutput",
"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": "hyperswitc... |
hyperswitch_enum_hyperswitch_domain_models_3005145011321094235 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub enum ConnectorAuthType {
TemporaryAuth,
HeaderKey {
api_key: Secret<String>,
},
BodyKey {
api_key: Secret<String>,
key1: Secret<String>,
},
SignatureKey {
api_key: Secret<String>,
key1... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ConnectorAuthType",
"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": "hyper... |
hyperswitch_enum_hyperswitch_domain_models_-6820093499054768445 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub enum PaymentMethodToken {
Token(Secret<String>),
ApplePayDecrypt(Box<common_payment_types::ApplePayPredecryptData>),
GooglePayDecrypt(Box<common_payment_types::GPayPredecryptData>),
PazeDecrypt(Box<PazeDecryptedData>),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentMethodToken",
"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": "hype... |
hyperswitch_enum_hyperswitch_domain_models_-3210646622706171324 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub enum AdditionalPaymentMethodConnectorResponse {
Card {
/// Details regarding the authentication details of the connector, if this is a 3ds payment.
authentication_data: Option<serde_json::Value>,
/// Various payment chec... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "AdditionalPaymentMethodConnectorResponse",
"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":... |
hyperswitch_enum_hyperswitch_domain_models_-8866912441425030502 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub enum ExternalVaultDetails {
ExternalVaultEnabled(ExternalVaultConnectorDetails),
Skip,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ExternalVaultDetails",
"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": "hy... |
hyperswitch_enum_hyperswitch_domain_models_-3721225433986921650 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub enum ProfileUpdate {
Update(Box<ProfileGeneralUpdate>),
RoutingAlgorithmUpdate {
routing_algorithm: Option<serde_json::Value>,
payout_routing_algorithm: Option<serde_json::Value>,
three_ds_decision_rule_algorith... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ProfileUpdate",
"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": "hyperswit... |
hyperswitch_enum_hyperswitch_domain_models_-3721225433986921650 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub enum ProfileUpdate {
Update(Box<ProfileGeneralUpdate>),
RoutingAlgorithmUpdate {
routing_algorithm_id: Option<common_utils::id_type::RoutingId>,
payout_routing_algorithm_id: Option<common_utils::id_type::RoutingId>,
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ProfileUpdate",
"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": "hyperswit... |
hyperswitch_enum_hyperswitch_domain_models_-923902571668548795 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs
pub enum InvoiceUpdateRequest {
/// Update amount and currency
Amount(AmountAndCurrencyUpdate),
/// Update connector invoice ID and status
Connector(ConnectorAndStatusUpdate),
/// Update payment details along with status
PaymentStat... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "InvoiceUpdateRequest",
"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": "hy... |
hyperswitch_enum_hyperswitch_domain_models_-1673599697743980473 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/customer.rs
pub enum CustomerUpdate {
Update(Box<CustomerGeneralUpdate>),
ConnectorCustomer {
connector_customer: Option<common_types::customers::ConnectorCustomerMap>,
},
UpdateDefaultPaymentMethod {
default_payment_method_id: Option<... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "CustomerUpdate",
"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": "hyperswi... |
hyperswitch_enum_hyperswitch_domain_models_-1673599697743980473 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/customer.rs
pub enum CustomerUpdate {
Update {
name: crypto::OptionalEncryptableName,
email: crypto::OptionalEncryptableEmail,
phone: Box<crypto::OptionalEncryptablePhone>,
description: Option<Description>,
phone_country_co... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "CustomerUpdate",
"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": "hyperswi... |
hyperswitch_enum_hyperswitch_domain_models_-773575779961304799 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum PaymentsResponseData {
TransactionResponse {
resource_id: ResponseId,
redirection_data: Box<Option<RedirectForm>>,
mandate_reference: Box<Option<MandateReference>>,
connector_metadata: Option<serde... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentsResponseData",
"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": "hy... |
hyperswitch_enum_hyperswitch_domain_models_8308604475126952991 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum CaptureSyncResponse {
Success {
resource_id: ResponseId,
status: common_enums::AttemptStatus,
connector_response_reference_id: Option<String>,
amount: Option<MinorUnit>,
},
Error {
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "CaptureSyncResponse",
"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": "hyp... |
hyperswitch_enum_hyperswitch_domain_models_-8887915431033962139 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum PreprocessingResponseId {
PreProcessingId(String),
ConnectorTransactionId(String),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PreprocessingResponseId",
"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_enum_hyperswitch_domain_models_-5420786299117075392 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum RedirectForm {
Form {
endpoint: String,
method: Method,
form_fields: HashMap<String, String>,
},
Html {
html_data: String,
},
BarclaycardAuthSetup {
access_token: String,
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RedirectForm",
"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": "hyperswitc... |
hyperswitch_enum_hyperswitch_domain_models_7360903833820938782 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum VerifyWebhookStatus {
SourceVerified,
SourceNotVerified,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "VerifyWebhookStatus",
"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": "hyp... |
hyperswitch_enum_hyperswitch_domain_models_-1521810146253008702 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum AuthenticationResponseData {
PreAuthVersionCallResponse {
maximum_supported_3ds_version: common_utils::types::SemanticVersion,
},
PreAuthThreeDsMethodCallResponse {
threeds_server_transaction_id: String,
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "AuthenticationResponseData",
"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_enum_hyperswitch_domain_models_803326736474716703 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub enum VaultResponseData {
ExternalVaultCreateResponse {
session_id: masking::Secret<String>,
client_secret: masking::Secret<String>,
},
ExternalVaultInsertResponse {
connector_vault_id: String,
f... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "VaultResponseData",
"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": "hyper... |
hyperswitch_enum_hyperswitch_domain_models_-1142116857452012702 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum PaymentMethodData {
Card(Card),
CardDetailsForNetworkTransactionId(CardDetailsForNetworkTransactionId),
CardRedirect(CardRedirectData),
Wallet(WalletData),
PayLater(PayLaterData),
BankRedirect(BankRedirectData),... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentMethodData",
"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": "hyper... |
hyperswitch_enum_hyperswitch_domain_models_6519269782439635417 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum ExternalVaultPaymentMethodData {
Card(Box<ExternalVaultCard>),
VaultToken(VaultToken),
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ExternalVaultPaymentMethodData",
"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,
"... |
hyperswitch_enum_hyperswitch_domain_models_-3676228177001354026 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum ApplePayFlow {
Simplified(api_models::payments::PaymentProcessingDetails),
Manual,
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ApplePayFlow",
"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": "hyperswitc... |
hyperswitch_enum_hyperswitch_domain_models_4257273414324632751 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum CardRedirectData {
Knet {},
Benefit {},
MomoAtm {},
CardRedirect {},
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "CardRedirectData",
"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": "hypers... |
hyperswitch_enum_hyperswitch_domain_models_1341123298981095048 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum PayLaterData {
KlarnaRedirect {},
KlarnaSdk { token: String },
AffirmRedirect {},
AfterpayClearpayRedirect {},
PayBrightRedirect {},
WalleyRedirect {},
FlexitiRedirect {},
AlmaRedirect {},
AtomeRedir... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PayLaterData",
"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": "hyperswitc... |
hyperswitch_enum_hyperswitch_domain_models_471836466740040933 | clm | enum | // hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum WalletData {
AliPayQr(Box<AliPayQr>),
AliPayRedirect(AliPayRedirection),
AliPayHkRedirect(AliPayHkRedirection),
AmazonPay(AmazonPayWalletData),
AmazonPayRedirect(Box<AmazonPayRedirect>),
BluecodeRedirect {},
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "WalletData",
"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"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.