id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_api_models_-5216475106157207111
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserOrgMerchantCreateRequest { pub organization_name: Secret<String>, pub organization_details: Option<pii::SecretSerdeValue>, pub metadata: Option<pii::SecretSerdeValue>, pub merchant_name: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserOrgMerchantCreateRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_6241673458399897728
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct PlatformAccountCreateRequest { #[schema(max_length = 64, value_type = String, example = "organization_abc")] pub organization_name: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PlatformAccountCreateRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_522732401270858353
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct PlatformAccountCreateResponse { #[schema(value_type = String, max_length = 64, min_length = 1, example = "org_abc")] pub org_id: id_type::OrganizationId, #[schema(value_type = Option<String>, example = "organization_abc")] pub org_name: Option<String>, #[schema(value_type = OrganizationType, example = "standard")] pub org_type: common_enums::OrganizationType, #[schema(value_type = String, example = "merchant_abc")] pub merchant_id: id_type::MerchantId, #[schema(value_type = MerchantAccountType, example = "standard")] pub merchant_account_type: common_enums::MerchantAccountType, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PlatformAccountCreateResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8333520210249788034
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserMerchantCreate { pub company_name: String, pub product_type: Option<common_enums::MerchantProductType>, pub merchant_account_type: Option<common_enums::MerchantAccountRequestType>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserMerchantCreate", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_8276585703413244937
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct GetUserDetailsResponse { pub merchant_id: id_type::MerchantId, pub name: Secret<String>, pub email: pii::Email, pub verification_days_left: Option<i64>, pub role_id: String, // This field is added for audit/debug reasons #[serde(skip_serializing)] pub user_id: String, pub org_id: id_type::OrganizationId, pub is_two_factor_auth_setup: bool, pub recovery_codes_left: Option<usize>, pub profile_id: id_type::ProfileId, pub entity_type: EntityType, pub theme_id: Option<String>, pub version: common_enums::ApiVersion, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetUserDetailsResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4122229055405216504
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct GetUserRoleDetailsRequest { pub email: pii::Email, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetUserRoleDetailsRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6859176278231301879
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct GetUserRoleDetailsResponseV2 { pub role_id: String, pub org: NameIdUnit<Option<String>, id_type::OrganizationId>, pub merchant: Option<NameIdUnit<OptionalEncryptableName, id_type::MerchantId>>, pub profile: Option<NameIdUnit<String, id_type::ProfileId>>, pub status: UserStatus, pub entity_type: EntityType, pub role_name: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetUserRoleDetailsResponseV2", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5228556803963368209
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct NameIdUnit<N: Debug + Clone, I: Debug + Clone> { pub name: N, pub id: I, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "NameIdUnit", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-4647057412725492735
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct VerifyEmailRequest { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "VerifyEmailRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2474650445676595248
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct SendVerifyEmailRequest { pub email: pii::Email, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "SendVerifyEmailRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_7517846209676470912
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UpdateUserAccountDetailsRequest { pub name: Option<Secret<String>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UpdateUserAccountDetailsRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4973596210200009429
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct SkipTwoFactorAuthQueryParam { pub skip_two_factor_auth: Option<bool>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "SkipTwoFactorAuthQueryParam", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6395770689371055844
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TokenResponse { pub token: Secret<String>, pub token_type: TokenPurpose, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TokenResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-550512719581375991
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TwoFactorAuthStatusResponse { pub totp: bool, pub recovery_code: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TwoFactorAuthStatusResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-633005106591512516
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TwoFactorAuthAttempts { pub is_completed: bool, pub remaining_attempts: u8, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TwoFactorAuthAttempts", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8383045663974543476
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TwoFactorAuthStatusResponseWithAttempts { pub totp: TwoFactorAuthAttempts, pub recovery_code: TwoFactorAuthAttempts, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TwoFactorAuthStatusResponseWithAttempts", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2987567593219517731
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TwoFactorStatus { pub status: Option<TwoFactorAuthStatusResponseWithAttempts>, pub is_skippable: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TwoFactorStatus", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-3319108867060554623
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserFromEmailRequest { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserFromEmailRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8036114490063120909
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct BeginTotpResponse { pub secret: Option<TotpSecret>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "BeginTotpResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4257083915139557898
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct TotpSecret { pub secret: Secret<String>, pub totp_url: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TotpSecret", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5988702014307708
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct VerifyTotpRequest { pub totp: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "VerifyTotpRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_7059930739315573803
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct VerifyRecoveryCodeRequest { pub recovery_code: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "VerifyRecoveryCodeRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_7785921376495531729
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct RecoveryCodes { pub recovery_codes: Vec<Secret<String>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RecoveryCodes", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2049764748001004820
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct OpenIdConnectPrivateConfig { pub base_url: String, pub client_id: Secret<String>, pub client_secret: Secret<String>, pub private_key: Option<Secret<String>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "OpenIdConnectPrivateConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-3399917449632047680
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct OpenIdConnectPublicConfig { pub name: OpenIdProvider, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "OpenIdConnectPublicConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5514331797197752209
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct OpenIdConnect { pub name: OpenIdProvider, pub base_url: String, pub client_id: String, pub client_secret: Secret<String>, pub private_key: Option<Secret<String>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "OpenIdConnect", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-245487960651722101
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct CreateUserAuthenticationMethodRequest { pub owner_id: String, pub owner_type: common_enums::Owner, pub auth_method: AuthConfig, pub allow_signup: bool, pub email_domain: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "CreateUserAuthenticationMethodRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-91430677374115276
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct CreateUserAuthenticationMethodResponse { pub id: String, pub auth_id: String, pub owner_id: String, pub owner_type: common_enums::Owner, pub auth_type: common_enums::UserAuthType, pub email_domain: Option<String>, pub allow_signup: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "CreateUserAuthenticationMethodResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5943347992706439557
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct GetUserAuthenticationMethodsRequest { pub auth_id: Option<String>, pub email_domain: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetUserAuthenticationMethodsRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-4839715212795177925
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserAuthenticationMethodResponse { pub id: String, pub auth_id: String, pub auth_method: AuthMethodDetails, pub allow_signup: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserAuthenticationMethodResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_8516908380232116373
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct AuthMethodDetails { #[serde(rename = "type")] pub auth_type: common_enums::UserAuthType, pub name: Option<OpenIdProvider>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AuthMethodDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-7803330414987061361
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct GetSsoAuthUrlRequest { pub id: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetSsoAuthUrlRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8255285135949261160
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct SsoSignInRequest { pub state: Secret<String>, pub code: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "SsoSignInRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_7696959406694326800
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct AuthIdAndThemeIdQueryParam { pub auth_id: Option<String>, pub theme_id: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AuthIdAndThemeIdQueryParam", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-3124991693182331362
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct AuthSelectRequest { pub id: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AuthSelectRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-9078222188107974891
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserKeyTransferRequest { pub from: u32, pub limit: u32, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserKeyTransferRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-4504577951753877358
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserTransferKeyResponse { pub total_transferred: usize, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserTransferKeyResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2153894759584553666
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct ListOrgsForUserResponse { pub org_id: id_type::OrganizationId, pub org_name: Option<String>, pub org_type: common_enums::OrganizationType, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListOrgsForUserResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-5339901513457326256
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct UserMerchantAccountResponse { pub merchant_id: id_type::MerchantId, pub merchant_name: OptionalEncryptableName, pub product_type: Option<common_enums::MerchantProductType>, pub merchant_account_type: common_enums::MerchantAccountType, pub version: common_enums::ApiVersion, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UserMerchantAccountResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2788695198999695126
clm
struct
// hyperswitch/crates/api_models/src/user.rs pub struct ListProfilesForUserInOrgAndMerchantAccountResponse { pub profile_id: id_type::ProfileId, pub profile_name: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListProfilesForUserInOrgAndMerchantAccountResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2102808100066888506
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct AuthorizationInfoResponse(pub Vec<AuthorizationInfo>);
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AuthorizationInfoResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8951994198912846284
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct GroupInfo { pub group: PermissionGroup, pub description: &'static str, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GroupInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2717159288467924033
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct ParentInfo { pub name: ParentGroup, pub description: &'static str, pub groups: Vec<PermissionGroup>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ParentInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-5377364413907136180
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct UpdateUserRoleRequest { pub email: pii::Email, pub role_id: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UpdateUserRoleRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6430262653889578021
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct DeleteUserRoleRequest { pub email: pii::Email, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "DeleteUserRoleRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4689345789906405518
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct ListUsersInEntityResponse { pub email: pii::Email, pub roles: Vec<role::MinimalRoleInfo>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListUsersInEntityResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-5519845682501573726
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct ListInvitationForUserResponse { pub entity_id: String, pub entity_type: common_enums::EntityType, pub entity_name: Option<Secret<String>>, pub role_id: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListInvitationForUserResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_979237064177774097
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct Entity { pub entity_id: String, pub entity_type: common_enums::EntityType, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "Entity", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6917899336956534043
clm
struct
// hyperswitch/crates/api_models/src/user_role.rs pub struct ListUsersInEntityRequest { pub entity_type: Option<common_enums::EntityType>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListUsersInEntityRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4693744043423300927
clm
struct
// hyperswitch/crates/api_models/src/files.rs pub struct CreateFileResponse { /// ID of the file created pub file_id: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "CreateFileResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8578896502419772144
clm
struct
// hyperswitch/crates/api_models/src/files.rs pub struct FileMetadataResponse { /// ID of the file created pub file_id: String, /// Name of the file pub file_name: Option<String>, /// Size of the file pub file_size: i32, /// Type of the file pub file_type: String, /// File availability pub available: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "FileMetadataResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2822790625038095997
clm
struct
// hyperswitch/crates/api_models/src/files.rs pub struct FileRetrieveQuery { ///Dispute Id pub dispute_id: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "FileRetrieveQuery", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_3240402329638327735
clm
struct
// hyperswitch/crates/api_models/src/external_service_auth.rs pub struct ExternalTokenResponse { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ExternalTokenResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-285564952347016938
clm
struct
// hyperswitch/crates/api_models/src/external_service_auth.rs pub struct ExternalVerifyTokenRequest { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ExternalVerifyTokenRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_6306990035160630115
clm
struct
// hyperswitch/crates/api_models/src/external_service_auth.rs pub struct ExternalSignoutTokenRequest { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ExternalSignoutTokenRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_36432099646293566
clm
struct
// hyperswitch/crates/api_models/src/verify_connector.rs pub struct VerifyConnectorRequest { pub connector_name: enums::Connector, pub connector_account_details: admin::ConnectorAuthType, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "VerifyConnectorRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2815387801548409276
clm
struct
// hyperswitch/crates/api_models/src/recon.rs pub struct ReconUpdateMerchantRequest { pub recon_status: enums::ReconStatus, pub user_email: pii::Email, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ReconUpdateMerchantRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_6277702155558935155
clm
struct
// hyperswitch/crates/api_models/src/recon.rs pub struct ReconTokenResponse { pub token: Secret<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ReconTokenResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6375974414754899505
clm
struct
// hyperswitch/crates/api_models/src/recon.rs pub struct ReconStatusResponse { pub recon_status: enums::ReconStatus, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ReconStatusResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4021399173290547494
clm
struct
// hyperswitch/crates/api_models/src/recon.rs pub struct VerifyTokenResponse { pub merchant_id: id_type::MerchantId, pub user_email: pii::Email, #[serde(skip_serializing_if = "Option::is_none")] pub acl: Option<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "VerifyTokenResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8373335511878316859
clm
struct
// hyperswitch/crates/api_models/src/poll.rs pub struct PollResponse { /// The poll id pub poll_id: String, /// Status of the poll pub status: PollStatus, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PollResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2071836839692882956
clm
struct
// hyperswitch/crates/api_models/src/webhooks.rs pub struct OutgoingWebhook { /// The merchant id of the merchant #[schema(value_type = String)] pub merchant_id: common_utils::id_type::MerchantId, /// The unique event id for each webhook pub event_id: String, /// The type of event this webhook corresponds to. #[schema(value_type = EventType)] pub event_type: api_enums::EventType, /// This is specific to the flow, for ex: it will be `PaymentsResponse` for payments flow pub content: OutgoingWebhookContent, /// The time at which webhook was sent #[serde(default, with = "custom_serde::iso8601")] pub timestamp: PrimitiveDateTime, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "OutgoingWebhook", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-3630183201071295283
clm
struct
// hyperswitch/crates/api_models/src/webhooks.rs pub struct ConnectorWebhookSecrets { pub secret: Vec<u8>, pub additional_secret: Option<masking::Secret<String>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ConnectorWebhookSecrets", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_115874452221895302
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct CreateApiKeyRequest { /// A unique name for the API Key to help you identify it. #[schema(max_length = 64, example = "Sandbox integration key")] pub name: String, /// A description to provide more context about the API Key. #[schema( max_length = 256, example = "Key used by our developers to integrate with the sandbox environment" )] pub description: Option<String>, /// An expiration date for the API Key. Although we allow keys to never expire, we recommend /// rotating your keys once every 6 months. #[schema(example = "2022-09-10T10:11:12Z")] pub expiration: ApiKeyExpiration, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "CreateApiKeyRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2993208693095680617
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct CreateApiKeyResponse { /// The identifier for the API Key. #[schema(max_length = 64, example = "5hEEqkgJUyuxgSKGArHA4mWSnX", value_type = String)] pub key_id: common_utils::id_type::ApiKeyId, /// The identifier for the Merchant Account. #[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)] pub merchant_id: common_utils::id_type::MerchantId, /// The unique name for the API Key to help you identify it. #[schema(max_length = 64, example = "Sandbox integration key")] pub name: String, /// The description to provide more context about the API Key. #[schema( max_length = 256, example = "Key used by our developers to integrate with the sandbox environment" )] pub description: Option<String>, /// The plaintext API Key used for server-side API access. Ensure you store the API Key /// securely as you will not be able to see it again. #[schema(value_type = String, max_length = 128)] pub api_key: StrongSecret<String>, /// The time at which the API Key was created. #[schema(example = "2022-09-10T10:11:12Z")] #[serde(with = "common_utils::custom_serde::iso8601")] pub created: PrimitiveDateTime, /// The expiration date for the API Key. #[schema(example = "2022-09-10T10:11:12Z")] pub expiration: ApiKeyExpiration, /* /// The date and time indicating when the API Key was last used. #[schema(example = "2022-09-10T10:11:12Z")] #[serde(with = "common_utils::custom_serde::iso8601::option")] pub last_used: Option<PrimitiveDateTime>, */ }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "CreateApiKeyResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-1663103879158470320
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct RetrieveApiKeyResponse { /// The identifier for the API Key. #[schema(max_length = 64, example = "5hEEqkgJUyuxgSKGArHA4mWSnX", value_type = String)] pub key_id: common_utils::id_type::ApiKeyId, /// The identifier for the Merchant Account. #[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)] pub merchant_id: common_utils::id_type::MerchantId, /// The unique name for the API Key to help you identify it. #[schema(max_length = 64, example = "Sandbox integration key")] pub name: String, /// The description to provide more context about the API Key. #[schema( max_length = 256, example = "Key used by our developers to integrate with the sandbox environment" )] pub description: Option<String>, /// The first few characters of the plaintext API Key to help you identify it. #[schema(value_type = String, max_length = 64)] pub prefix: StrongSecret<String>, /// The time at which the API Key was created. #[schema(example = "2022-09-10T10:11:12Z")] #[serde(with = "common_utils::custom_serde::iso8601")] pub created: PrimitiveDateTime, /// The expiration date for the API Key. #[schema(example = "2022-09-10T10:11:12Z")] pub expiration: ApiKeyExpiration, /* /// The date and time indicating when the API Key was last used. #[schema(example = "2022-09-10T10:11:12Z")] #[serde(with = "common_utils::custom_serde::iso8601::option")] pub last_used: Option<PrimitiveDateTime>, */ }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RetrieveApiKeyResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-4331647626619147920
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct UpdateApiKeyRequest { /// A unique name for the API Key to help you identify it. #[schema(max_length = 64, example = "Sandbox integration key")] pub name: Option<String>, /// A description to provide more context about the API Key. #[schema( max_length = 256, example = "Key used by our developers to integrate with the sandbox environment" )] pub description: Option<String>, /// An expiration date for the API Key. Although we allow keys to never expire, we recommend /// rotating your keys once every 6 months. #[schema(example = "2022-09-10T10:11:12Z")] pub expiration: Option<ApiKeyExpiration>, #[serde(skip_deserializing)] #[schema(value_type = String)] pub key_id: common_utils::id_type::ApiKeyId, #[serde(skip_deserializing)] #[schema(value_type = String)] pub merchant_id: common_utils::id_type::MerchantId, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "UpdateApiKeyRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6775716972627081850
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct RevokeApiKeyResponse { /// The identifier for the Merchant Account. #[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)] pub merchant_id: common_utils::id_type::MerchantId, /// The identifier for the API Key. #[schema(max_length = 64, example = "5hEEqkgJUyuxgSKGArHA4mWSnX", value_type = String)] pub key_id: common_utils::id_type::ApiKeyId, /// Indicates whether the API key was revoked or not. #[schema(example = "true")] pub revoked: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RevokeApiKeyResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2076826263774752577
clm
struct
// hyperswitch/crates/api_models/src/api_keys.rs pub struct ListApiKeyConstraints { /// The maximum number of API Keys to include in the response. pub limit: Option<i64>, /// The number of API Keys to skip when retrieving the list of API keys. pub skip: Option<i64>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ListApiKeyConstraints", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_1613925011385941695
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct NameDescription { pub name: String, pub desc: String, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "NameDescription", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-4874647398711302183
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetInfoResponse { pub metrics: Vec<NameDescription>, pub download_dimensions: Option<Vec<NameDescription>>, pub dimensions: Vec<NameDescription>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetInfoResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4017089403744824196
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct TimeSeries { pub granularity: Granularity, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "TimeSeries", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_999999746493571372
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct AnalyticsRequest { pub payment_intent: Option<GetPaymentIntentMetricRequest>, pub payment_attempt: Option<GetPaymentMetricRequest>, pub refund: Option<GetRefundMetricRequest>, pub dispute: Option<GetDisputeMetricRequest>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AnalyticsRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_663633348548101924
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetPaymentMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<PaymentDimensions>, #[serde(default)] pub filters: payments::PaymentFilters, pub metrics: HashSet<PaymentMetrics>, pub distribution: Option<PaymentDistributionBody>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetPaymentMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_497361528510766766
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentDistributionBody { pub distribution_for: PaymentDistributions, pub distribution_cardinality: QueryLimit, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentDistributionBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5332295928312379496
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct RefundDistributionBody { pub distribution_for: RefundDistributions, pub distribution_cardinality: QueryLimit, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RefundDistributionBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-7420223857261443106
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct ReportRequest { pub time_range: TimeRange, pub emails: Option<Vec<Secret<String, EmailStrategy>>>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "ReportRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_1102911425130727262
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GenerateReportRequest { pub request: ReportRequest, pub merchant_id: Option<common_utils::id_type::MerchantId>, pub auth: AuthInfo, pub email: Secret<String, EmailStrategy>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GenerateReportRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-1673257517141648626
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetPaymentIntentMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<PaymentIntentDimensions>, #[serde(default)] pub filters: payment_intents::PaymentIntentFilters, pub metrics: HashSet<PaymentIntentMetrics>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetPaymentIntentMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8945130296862633246
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetRefundMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<RefundDimensions>, #[serde(default)] pub filters: refunds::RefundFilters, pub metrics: HashSet<RefundMetrics>, pub distribution: Option<RefundDistributionBody>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetRefundMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_3883634498542034395
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetFrmMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<FrmDimensions>, #[serde(default)] pub filters: frm::FrmFilters, pub metrics: HashSet<FrmMetrics>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetFrmMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4692529758971102413
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetSdkEventMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<SdkEventDimensions>, #[serde(default)] pub filters: sdk_events::SdkEventFilters, pub metrics: HashSet<SdkEventMetrics>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetSdkEventMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2041678109880843317
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetAuthEventMetricRequest { pub time_series: Option<TimeSeries>, pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<AuthEventDimensions>, #[serde(default)] pub filters: AuthEventFilters, #[serde(default)] pub metrics: HashSet<AuthEventMetrics>, #[serde(default)] pub delta: bool, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetAuthEventMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_2563990508790448244
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetActivePaymentsMetricRequest { #[serde(default)] pub metrics: HashSet<ActivePaymentsMetrics>, pub time_range: TimeRange, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetActivePaymentsMetricRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2856555546796018976
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct AnalyticsMetadata { pub current_time_range: TimeRange, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "AnalyticsMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4589492838156485360
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentsAnalyticsMetadata { pub total_payment_processed_amount: Option<u64>, pub total_payment_processed_amount_in_usd: Option<u64>, pub total_payment_processed_amount_without_smart_retries: Option<u64>, pub total_payment_processed_amount_without_smart_retries_usd: Option<u64>, pub total_payment_processed_count: Option<u64>, pub total_payment_processed_count_without_smart_retries: Option<u64>, pub total_failure_reasons_count: Option<u64>, pub total_failure_reasons_count_without_smart_retries: Option<u64>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentsAnalyticsMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5248076318779758182
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentIntentsAnalyticsMetadata { pub total_success_rate: Option<f64>, pub total_success_rate_without_smart_retries: Option<f64>, pub total_smart_retried_amount: Option<u64>, pub total_smart_retried_amount_without_smart_retries: Option<u64>, pub total_payment_processed_amount: Option<u64>, pub total_payment_processed_amount_without_smart_retries: Option<u64>, pub total_smart_retried_amount_in_usd: Option<u64>, pub total_smart_retried_amount_without_smart_retries_in_usd: Option<u64>, pub total_payment_processed_amount_in_usd: Option<u64>, pub total_payment_processed_amount_without_smart_retries_in_usd: Option<u64>, pub total_payment_processed_count: Option<u64>, pub total_payment_processed_count_without_smart_retries: Option<u64>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentIntentsAnalyticsMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5026190950329759178
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct RefundsAnalyticsMetadata { pub total_refund_success_rate: Option<f64>, pub total_refund_processed_amount: Option<u64>, pub total_refund_processed_amount_in_usd: Option<u64>, pub total_refund_processed_count: Option<u64>, pub total_refund_reason_count: Option<u64>, pub total_refund_error_message_count: Option<u64>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RefundsAnalyticsMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_5541716205153472609
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetPaymentFiltersRequest { pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<PaymentDimensions>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetPaymentFiltersRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_774222837945072457
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentFiltersResponse { pub query_data: Vec<FilterValue>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentFiltersResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_4568902882935918644
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct FilterValue { pub dimension: PaymentDimensions, pub values: Vec<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "FilterValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_8705962320702091517
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetPaymentIntentFiltersRequest { pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<PaymentIntentDimensions>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetPaymentIntentFiltersRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-8115001443543449729
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentIntentFiltersResponse { pub query_data: Vec<PaymentIntentFilterValue>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentIntentFiltersResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_8365019865911718261
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct PaymentIntentFilterValue { pub dimension: PaymentIntentDimensions, pub values: Vec<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "PaymentIntentFilterValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_7761023101358502913
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetRefundFilterRequest { pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<RefundDimensions>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetRefundFilterRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-1022791537343048571
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct RefundFiltersResponse { pub query_data: Vec<RefundFilterValue>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RefundFiltersResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-6986375437678540600
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct RefundFilterValue { pub dimension: RefundDimensions, pub values: Vec<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "RefundFilterValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_8795886984870423298
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct GetFrmFilterRequest { pub time_range: TimeRange, #[serde(default)] pub group_by_names: Vec<FrmDimensions>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "GetFrmFilterRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_-2221488191309483833
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct FrmFiltersResponse { pub query_data: Vec<FrmFilterValue>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "FrmFiltersResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_api_models_752859138228927291
clm
struct
// hyperswitch/crates/api_models/src/analytics.rs pub struct FrmFilterValue { pub dimension: FrmDimensions, pub values: Vec<String>, }
{ "chunk": null, "crate": "api_models", "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, "struct_name": "FrmFilterValue", "total_crates": null, "trait_name": null }