mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
build(deps): update dependencies (#4268)
This commit is contained in:
3043
Cargo.lock
generated
3043
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -2,51 +2,40 @@
|
||||
name = "analytics"
|
||||
version = "0.1.0"
|
||||
description = "Analytics / Reports / Search related functionality"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
[dependencies]
|
||||
# First party crates
|
||||
api_models = { version = "0.1.0", path = "../api_models", features = [
|
||||
"errors",
|
||||
] }
|
||||
api_models = { version = "0.1.0", path = "../api_models", features = ["errors"] }
|
||||
storage_impl = { version = "0.1.0", path = "../storage_impl", default-features = false }
|
||||
common_utils = { version = "0.1.0", path = "../common_utils" }
|
||||
external_services = { version = "0.1.0", path = "../external_services", default-features = false }
|
||||
hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces" }
|
||||
masking = { version = "0.1.0", path = "../masking" }
|
||||
router_env = { version = "0.1.0", path = "../router_env", features = [
|
||||
"log_extra_implicit_fields",
|
||||
"log_custom_entries_to_extra",
|
||||
] }
|
||||
diesel_models = { version = "0.1.0", path = "../diesel_models", features = [
|
||||
"kv_store",
|
||||
] }
|
||||
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
||||
diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"] }
|
||||
|
||||
#Third Party dependencies
|
||||
actix-web = "4.3.1"
|
||||
async-trait = "0.1.68"
|
||||
aws-config = { version = "1.1.6", features = ["behavior-version-latest"] }
|
||||
aws-sdk-lambda = { version = "1.1.4" }
|
||||
aws-smithy-types = { version = "1.1.6" }
|
||||
actix-web = "4.5.1"
|
||||
async-trait = "0.1.79"
|
||||
aws-config = { version = "1.1.9", features = ["behavior-version-latest"] }
|
||||
aws-sdk-lambda = { version = "1.18.0" }
|
||||
aws-smithy-types = { version = "1.1.8" }
|
||||
bigdecimal = { version = "0.3.1", features = ["serde"] }
|
||||
error-stack = "0.4.1"
|
||||
futures = "0.3.28"
|
||||
futures = "0.3.30"
|
||||
opensearch = { version = "2.2.0", features = ["aws-auth"] }
|
||||
once_cell = "1.18.0"
|
||||
reqwest = { version = "0.11.18", features = ["serde_json"] }
|
||||
serde = { version = "1.0.193", features = ["derive", "rc"] }
|
||||
serde_json = "1.0.108"
|
||||
sqlx = { version = "0.6.3", features = [
|
||||
"postgres",
|
||||
"runtime-actix",
|
||||
"runtime-actix-native-tls",
|
||||
"time",
|
||||
"bigdecimal",
|
||||
] }
|
||||
strum = { version = "0.25.0", features = ["derive"] }
|
||||
thiserror = "1.0.43"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
once_cell = "1.19.0"
|
||||
reqwest = { version = "0.11.27", features = ["serde_json"] }
|
||||
serde = { version = "1.0.197", features = ["derive", "rc"] }
|
||||
serde_json = "1.0.115"
|
||||
sqlx = { version = "0.7.3", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] }
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
@ -100,10 +100,10 @@ where
|
||||
Type: DbType + FromStr + Display,
|
||||
{
|
||||
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> sqlx::encode::IsNull {
|
||||
self.0.to_string().encode(buf)
|
||||
<String as Encode<'q, Postgres>>::encode(self.0.to_string(), buf)
|
||||
}
|
||||
fn size_hint(&self) -> usize {
|
||||
self.0.to_string().size_hint()
|
||||
<String as Encode<'q, Postgres>>::size_hint(&self.0.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,22 +23,22 @@ openapi = ["common_enums/openapi", "olap", "backwards_compatibility", "business_
|
||||
recon = []
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4.3.1", optional = true }
|
||||
actix-web = { version = "4.5.1", optional = true }
|
||||
error-stack = "0.4.1"
|
||||
mime = "0.3.17"
|
||||
reqwest = { version = "0.11.18", optional = true }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
url = { version = "2.4.0", features = ["serde"] }
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
frunk = "0.4.1"
|
||||
frunk_core = "0.4.1"
|
||||
reqwest = { version = "0.11.27", optional = true }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
url = { version = "2.5.0", features = ["serde"] }
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
frunk = "0.4.2"
|
||||
frunk_core = "0.4.2"
|
||||
|
||||
# First party crates
|
||||
cards = { version = "0.1.0", path = "../cards" }
|
||||
common_enums = { path = "../common_enums" }
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
common_utils = { version = "0.1.0", path = "../common_utils" }
|
||||
euclid = { version = "0.1.0", path = "../euclid" }
|
||||
masking = { version = "0.1.0", path = "../masking", default-features = false, features = ["alloc", "serde"] }
|
||||
|
||||
@ -17,7 +17,7 @@ use serde::{Deserialize, Serialize};
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
Serialize,
|
||||
|
||||
@ -35,7 +35,7 @@ pub enum RoutingAlgorithm {
|
||||
ToSchema,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
|
||||
@ -12,9 +12,9 @@ license.workspace = true
|
||||
[dependencies]
|
||||
error-stack = "0.4.1"
|
||||
luhn = "1.0.1"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
time = "0.3.21"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
time = "0.3.34"
|
||||
|
||||
# First party crates
|
||||
common_utils = { version = "0.1.0", path = "../common_utils" }
|
||||
@ -24,4 +24,4 @@ masking = { version = "0.1.0", path = "../masking" }
|
||||
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0.108"
|
||||
serde_json = "1.0.115"
|
||||
|
||||
@ -13,14 +13,14 @@ openapi = []
|
||||
payouts = []
|
||||
|
||||
[dependencies]
|
||||
diesel = { version = "2.1.0", features = ["postgres"] }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
diesel = { version = "2.1.5", features = ["postgres"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
|
||||
# First party crates
|
||||
router_derive = { version = "0.1.0", path = "../router_derive" }
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0.108"
|
||||
serde_json = "1.0.115"
|
||||
|
||||
@ -74,7 +74,7 @@ pub enum AttemptStatus {
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
strum::EnumIter,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
ToSchema,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "db_enum")]
|
||||
@ -209,7 +209,7 @@ impl AttemptStatus {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -312,7 +312,7 @@ pub enum BlocklistDataKind {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -386,7 +386,7 @@ pub enum ConnectorType {
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
strum::EnumIter,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
ToSchema,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "db_enum")]
|
||||
@ -1181,7 +1181,7 @@ pub enum IntentStatus {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -1328,7 +1328,7 @@ pub enum PaymentExperience {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -1435,7 +1435,7 @@ pub enum PaymentMethodType {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -1543,7 +1543,7 @@ pub enum MandateStatus {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
@ -1709,7 +1709,7 @@ pub enum CountryAlpha3 {
|
||||
Eq,
|
||||
Hash,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
Deserialize,
|
||||
@ -2109,7 +2109,7 @@ pub enum PayoutStatus {
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
|
||||
@ -13,33 +13,33 @@ async_ext = ["dep:futures", "dep:async-trait"]
|
||||
logs = ["dep:router_env"]
|
||||
|
||||
[dependencies]
|
||||
async-trait = { version = "0.1.68", optional = true }
|
||||
bytes = "1.4.0"
|
||||
diesel = "2.1.0"
|
||||
async-trait = { version = "0.1.79", optional = true }
|
||||
bytes = "1.6.0"
|
||||
diesel = "2.1.5"
|
||||
error-stack = "0.4.1"
|
||||
futures = { version = "0.3.28", optional = true }
|
||||
futures = { version = "0.3.30", optional = true }
|
||||
hex = "0.4.3"
|
||||
http = "0.2.9"
|
||||
http = "0.2.12"
|
||||
md5 = "0.7.0"
|
||||
nanoid = "0.4.0"
|
||||
once_cell = "1.18.0"
|
||||
once_cell = "1.19.0"
|
||||
phonenumber = "0.3.3"
|
||||
quick-xml = { version = "0.28.2", features = ["serialize"] }
|
||||
quick-xml = { version = "0.31.0", features = ["serialize"] }
|
||||
rand = "0.8.5"
|
||||
regex = "1.8.4"
|
||||
reqwest = { version = "0.11.18", features = ["json", "native-tls", "gzip", "multipart"] }
|
||||
ring = { version = "0.16.20", features = ["std"] }
|
||||
regex = "1.10.4"
|
||||
reqwest = { version = "0.11.27", features = ["json", "native-tls", "gzip", "multipart"] }
|
||||
ring = { version = "0.17.8", features = ["std", "wasm32_unknown_unknown_js"] }
|
||||
rustc-hash = "1.1.0"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
serde_urlencoded = "0.7.1"
|
||||
signal-hook = { version = "0.3.15", optional = true }
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"], optional = true }
|
||||
signal-hook = { version = "0.3.17", optional = true }
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"], optional = true }
|
||||
semver = { version = "1.0.22", features = ["serde"] }
|
||||
uuid = { version = "1.7.0", features = ["v7"] }
|
||||
uuid = { version = "1.8.0", features = ["v7"] }
|
||||
|
||||
# First party crates
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
@ -50,6 +50,6 @@ router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra
|
||||
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
fake = "2.6.1"
|
||||
proptest = "1.2.0"
|
||||
test-case = "3.1.0"
|
||||
fake = "2.9.2"
|
||||
proptest = "1.4.0"
|
||||
test-case = "3.3.1"
|
||||
|
||||
@ -12,12 +12,12 @@ all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.75"
|
||||
clap = { version = "4.3.2", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
indexmap = { version = "2.1.0", optional = true }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
toml = { version = "0.7.4", default-features = false, features = ["parse"] }
|
||||
anyhow = "1.0.81"
|
||||
clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
indexmap = { version = "2.2.6", optional = true }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
toml = { version = "0.8.12", default-features = false, features = ["parse"] }
|
||||
|
||||
[features]
|
||||
default = ["preserve_order"]
|
||||
|
||||
@ -16,7 +16,7 @@ payouts = ["api_models/payouts"]
|
||||
|
||||
[dependencies]
|
||||
api_models = { version = "0.1.0", path = "../api_models", package = "api_models" }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_with = "3.4.0"
|
||||
toml = "0.7.3"
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_with = "3.7.0"
|
||||
toml = "0.8.12"
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
|
||||
@ -3,6 +3,8 @@ name = "currency_conversion"
|
||||
description = "Currency conversion for cost based routing"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[dependencies]
|
||||
@ -10,7 +12,7 @@ edition.workspace = true
|
||||
common_enums = { version = "0.1.0", path = "../common_enums", package = "common_enums" }
|
||||
|
||||
# Third party crates
|
||||
rust_decimal = "1.29"
|
||||
rust_decimal = "1.35"
|
||||
rusty-money = { git = "https://github.com/varunsrin/rusty_money", rev = "bbc0150742a0fff905225ff11ee09388e9babdcc", features = ["iso", "crypto"] }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
thiserror = "1.0.43"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
|
||||
@ -21,9 +21,9 @@ masking = { version = "0.1.0", path = "../masking" }
|
||||
diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"] }
|
||||
|
||||
# Third party deps
|
||||
async-trait = "0.1.68"
|
||||
async-trait = "0.1.79"
|
||||
error-stack = "0.4.1"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
thiserror = "1.0.40"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
|
||||
@ -13,18 +13,18 @@ kv_store = []
|
||||
|
||||
[dependencies]
|
||||
async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
|
||||
diesel = { version = "2.1.0", features = ["postgres", "serde_json", "time", "64-column-tables"] }
|
||||
diesel = { version = "2.1.5", features = ["postgres", "serde_json", "time", "64-column-tables"] }
|
||||
error-stack = "0.4.1"
|
||||
frunk = "0.4.1"
|
||||
frunk_core = "0.4.1"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
frunk = "0.4.2"
|
||||
frunk_core = "0.4.2"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
|
||||
# First party crates
|
||||
common_enums = { path = "../common_enums" }
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
common_utils = { version = "0.1.0", path = "../common_utils" }
|
||||
masking = { version = "0.1.0", path = "../masking" }
|
||||
router_derive = { version = "0.1.0", path = "../router_derive" }
|
||||
|
||||
@ -12,22 +12,22 @@ release = ["vergen", "external_services/aws_kms"]
|
||||
vergen = ["router_env/vergen"]
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.3.1"
|
||||
actix-web = "4.5.1"
|
||||
async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
|
||||
bb8 = "0.8"
|
||||
clap = { version = "4.3.2", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
config = { version = "0.13.3", features = ["toml"] }
|
||||
diesel = { version = "2.1.0", features = ["postgres"] }
|
||||
clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
config = { version = "0.14.0", features = ["toml"] }
|
||||
diesel = { version = "2.1.5", features = ["postgres"] }
|
||||
error-stack = "0.4.1"
|
||||
mime = "0.3.17"
|
||||
once_cell = "1.18.0"
|
||||
reqwest = { version = "0.11.18" }
|
||||
serde = "1.0.193"
|
||||
serde_json = "1.0.108"
|
||||
serde_path_to_error = "0.1.14"
|
||||
thiserror = "1.0.40"
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
async-trait = "0.1.74"
|
||||
once_cell = "1.19.0"
|
||||
reqwest = { version = "0.11.27" }
|
||||
serde = "1.0.197"
|
||||
serde_json = "1.0.115"
|
||||
serde_path_to_error = "0.1.16"
|
||||
thiserror = "1.0.58"
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
async-trait = "0.1.79"
|
||||
|
||||
# First Party Crates
|
||||
common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals"] }
|
||||
|
||||
@ -4,19 +4,20 @@ description = "DSL for static routing"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
erased-serde = "0.3.28"
|
||||
frunk = "0.4.1"
|
||||
frunk_core = "0.4.1"
|
||||
erased-serde = "0.4.4"
|
||||
frunk = "0.4.2"
|
||||
frunk_core = "0.4.2"
|
||||
nom = { version = "7.1.3", features = ["alloc"], optional = true }
|
||||
once_cell = "1.18.0"
|
||||
once_cell = "1.19.0"
|
||||
rustc-hash = "1.1.0"
|
||||
serde = { version = "1.0.193", features = ["derive", "rc"] }
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
thiserror = "1.0.43"
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
serde = { version = "1.0.197", features = ["derive", "rc"] }
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] }
|
||||
|
||||
# First party dependencies
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
|
||||
@ -48,7 +48,7 @@ collect_variants!(PayoutWalletType);
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -68,7 +68,7 @@ pub enum MandateAcceptanceType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -88,7 +88,7 @@ pub enum PaymentType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -109,7 +109,7 @@ pub enum MandateType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -131,7 +131,7 @@ pub enum PayoutBankTransferType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -151,7 +151,7 @@ pub enum PayoutWalletType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
|
||||
@ -113,7 +113,7 @@ impl DirKey {
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumIter,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumString,
|
||||
strum::EnumMessage,
|
||||
strum::EnumProperty,
|
||||
@ -490,7 +490,7 @@ impl DirKeyKind {
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Debug, Clone, Hash, PartialEq, Eq, serde::Serialize, strum::Display, strum::EnumVariantNames,
|
||||
Debug, Clone, Hash, PartialEq, Eq, serde::Serialize, strum::Display, strum::VariantNames,
|
||||
)]
|
||||
#[serde(tag = "key", content = "value")]
|
||||
pub enum DirValue {
|
||||
@ -677,7 +677,7 @@ impl DirValue {
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumIter,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumString,
|
||||
strum::EnumMessage,
|
||||
strum::EnumProperty,
|
||||
@ -743,7 +743,7 @@ pub enum PayoutDirKeyKind {
|
||||
|
||||
#[cfg(feature = "payouts")]
|
||||
#[derive(
|
||||
Debug, Clone, Hash, PartialEq, Eq, serde::Serialize, strum::Display, strum::EnumVariantNames,
|
||||
Debug, Clone, Hash, PartialEq, Eq, serde::Serialize, strum::Display, strum::VariantNames,
|
||||
)]
|
||||
pub enum PayoutDirValue {
|
||||
#[serde(rename = "business_country", alias = "country")]
|
||||
|
||||
@ -16,7 +16,7 @@ pub use crate::enums::{PayoutBankTransferType, PayoutType, PayoutWalletType};
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -36,7 +36,7 @@ pub enum CardType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -61,7 +61,7 @@ pub enum PayLaterType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -98,7 +98,7 @@ pub enum WalletType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -130,7 +130,7 @@ pub enum VoucherType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -164,7 +164,7 @@ pub enum BankRedirectType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -195,7 +195,7 @@ pub enum BankTransferType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -215,7 +215,7 @@ pub enum GiftCardType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -237,7 +237,7 @@ pub enum CardRedirectType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -256,7 +256,7 @@ pub enum CryptoType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -275,7 +275,7 @@ pub enum UpiType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
@ -297,7 +297,7 @@ pub enum BankDebitType {
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumIter,
|
||||
strum::EnumString,
|
||||
serde::Serialize,
|
||||
|
||||
@ -23,7 +23,7 @@ pub type Metadata = std::collections::HashMap<String, serde_json::Value>;
|
||||
PartialEq,
|
||||
Eq,
|
||||
strum::Display,
|
||||
strum::EnumVariantNames,
|
||||
strum::VariantNames,
|
||||
strum::EnumString,
|
||||
)]
|
||||
pub enum EuclidKey {
|
||||
|
||||
@ -4,13 +4,14 @@ description = "Macros for Euclid DSL"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
proc-macro2 = "1.0.51"
|
||||
quote = "1.0.23"
|
||||
proc-macro2 = "1.0.79"
|
||||
quote = "1.0.35"
|
||||
rustc-hash = "1.1.0"
|
||||
strum = { version = "0.24", features = ["derive"] }
|
||||
syn = "1.0.109"
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
syn = "2.0.57"
|
||||
|
||||
@ -4,6 +4,7 @@ description = "WASM bindings for Euclid DSL"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lib]
|
||||
@ -24,15 +25,15 @@ payouts = ["api_models/payouts", "euclid/payouts"]
|
||||
api_models = { version = "0.1.0", path = "../api_models", package = "api_models" }
|
||||
currency_conversion = { version = "0.1.0", path = "../currency_conversion" }
|
||||
connector_configs = { version = "0.1.0", path = "../connector_configs" }
|
||||
euclid = { path = "../euclid", features = [] }
|
||||
euclid = { version = "0.1.0", path = "../euclid", features = [] }
|
||||
kgraph_utils = { version = "0.1.0", path = "../kgraph_utils" }
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
|
||||
# Third party crates
|
||||
getrandom = { version = "0.2.10", features = ["js"] }
|
||||
once_cell = "1.18.0"
|
||||
getrandom = { version = "0.2.12", features = ["js"] }
|
||||
once_cell = "1.19.0"
|
||||
ron-parser = "0.1.4"
|
||||
serde = { version = "1.0", features = [] }
|
||||
serde-wasm-bindgen = "0.5"
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
wasm-bindgen = { version = "0.2.86" }
|
||||
serde-wasm-bindgen = "0.6.5"
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
wasm-bindgen = { version = "0.2.92" }
|
||||
|
||||
@ -11,26 +11,26 @@ license.workspace = true
|
||||
aws_kms = ["dep:aws-config", "dep:aws-sdk-kms"]
|
||||
email = ["dep:aws-config"]
|
||||
aws_s3 = ["dep:aws-config", "dep:aws-sdk-s3"]
|
||||
hashicorp-vault = [ "dep:vaultrs" ]
|
||||
hashicorp-vault = ["dep:vaultrs"]
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.68"
|
||||
async-trait = "0.1.79"
|
||||
aws-config = { version = "0.55.3", optional = true }
|
||||
aws-sdk-kms = { version = "0.28.0", optional = true }
|
||||
aws-sdk-sesv2 = "0.28.0"
|
||||
aws-sdk-sts = "0.28.0"
|
||||
aws-sdk-s3 = { version = "0.28.0", optional = true }
|
||||
aws-smithy-client = "0.55.3"
|
||||
base64 = "0.21.2"
|
||||
dyn-clone = "1.0.11"
|
||||
base64 = "0.22.0"
|
||||
dyn-clone = "1.0.17"
|
||||
error-stack = "0.4.1"
|
||||
once_cell = "1.18.0"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
tokio = "1.36.0"
|
||||
once_cell = "1.19.0"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
tokio = "1.37.0"
|
||||
hyper-proxy = "0.9.1"
|
||||
hyper = "0.14.26"
|
||||
vaultrs = { version = "0.7.0", optional = true }
|
||||
hyper = "0.14.28"
|
||||
vaultrs = { version = "0.7.2", optional = true }
|
||||
hex = "0.4.3"
|
||||
|
||||
# First party crates
|
||||
|
||||
@ -7,10 +7,10 @@ readme = "README.md"
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.68"
|
||||
dyn-clone = "1.0.11"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
async-trait = "0.1.79"
|
||||
dyn-clone = "1.0.17"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
|
||||
# First party crates
|
||||
common_utils = { version = "0.1.0", path = "../common_utils" }
|
||||
|
||||
@ -4,6 +4,7 @@ description = "Utilities for constructing and working with Knowledge Graphs"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[features]
|
||||
dummy_connector = ["api_models/dummy_connector", "euclid/dummy_connector"]
|
||||
@ -16,9 +17,9 @@ euclid = { version = "0.1.0", path = "../euclid" }
|
||||
masking = { version = "0.1.0", path = "../masking/" }
|
||||
|
||||
# Third party crates
|
||||
serde = "1.0.193"
|
||||
serde_json = "1.0.108"
|
||||
thiserror = "1.0.43"
|
||||
serde = "1.0.197"
|
||||
serde_json = "1.0.115"
|
||||
thiserror = "1.0.58"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
|
||||
@ -18,12 +18,12 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dependencies]
|
||||
bytes = { version = "1", optional = true }
|
||||
diesel = { version = "2.1.0", features = ["postgres", "serde_json", "time"], optional = true }
|
||||
erased-serde = "0.3.31"
|
||||
diesel = { version = "2.1.5", features = ["postgres", "serde_json", "time"], optional = true }
|
||||
erased-serde = "0.4.4"
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
serde_json = { version = "1.0.108", optional = true }
|
||||
subtle = "=2.4.1"
|
||||
zeroize = { version = "1.6", default-features = false }
|
||||
serde_json = { version = "1.0.115", optional = true }
|
||||
subtle = "2.5.0"
|
||||
zeroize = { version = "1.7", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0.108"
|
||||
serde_json = "1.0.115"
|
||||
|
||||
@ -8,7 +8,7 @@ license.workspace = true
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0.96"
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order", "time"] }
|
||||
serde_json = "1.0.115"
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order", "time"] }
|
||||
|
||||
api_models = { version = "0.1.0", path = "../api_models", features = ["frm", "payouts", "openapi"] }
|
||||
|
||||
@ -5,6 +5,7 @@ version = "0.1.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
readme = "README.md"
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
# First party crates
|
||||
@ -16,12 +17,12 @@ router_derive = { version = "0.1.0", path = "../router_derive" }
|
||||
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
||||
|
||||
# Third party crates
|
||||
async-trait = "0.1.66"
|
||||
bytes = "1.4.0"
|
||||
async-trait = "0.1.79"
|
||||
bytes = "1.6.0"
|
||||
error-stack = "0.4.1"
|
||||
http = "0.2.9"
|
||||
http = "0.2.12"
|
||||
mime = "0.3.17"
|
||||
serde = "1.0.193"
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
thiserror = "1.0.43"
|
||||
serde = "1.0.197"
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
|
||||
@ -11,14 +11,14 @@ license.workspace = true
|
||||
error-stack = "0.4.1"
|
||||
fred = { version = "7.1.2", features = ["metrics", "partial-tracing", "subscriber-client", "check-unresponsive"] }
|
||||
futures = "0.3"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
tokio = "1.36.0"
|
||||
tokio-stream = {version = "0.1.14", features = ["sync"]}
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
tokio = "1.37.0"
|
||||
tokio-stream = {version = "0.1.15", features = ["sync"]}
|
||||
|
||||
# First party crates
|
||||
common_utils = { version = "0.1.0", path = "../common_utils", features = ["async_ext"] }
|
||||
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
@ -26,80 +26,75 @@ dummy_connector = ["api_models/dummy_connector", "euclid/dummy_connector", "kgra
|
||||
connector_choice_mca_id = ["api_models/connector_choice_mca_id", "euclid/connector_choice_mca_id", "kgraph_utils/connector_choice_mca_id"]
|
||||
external_access_dc = ["dummy_connector"]
|
||||
detailed_errors = ["api_models/detailed_errors", "error-stack/serde"]
|
||||
payouts = [
|
||||
"api_models/payouts",
|
||||
"common_enums/payouts",
|
||||
"data_models/payouts",
|
||||
"storage_impl/payouts"
|
||||
]
|
||||
payouts = ["api_models/payouts", "common_enums/payouts", "data_models/payouts", "storage_impl/payouts"]
|
||||
payout_retry = ["payouts"]
|
||||
recon = ["email", "api_models/recon"]
|
||||
retry = []
|
||||
|
||||
[dependencies]
|
||||
actix-cors = "0.6.4"
|
||||
actix-multipart = "0.6.0"
|
||||
actix-rt = "2.8.0"
|
||||
actix-web = "4.3.1"
|
||||
actix-cors = "0.6.5"
|
||||
actix-multipart = "0.6.1"
|
||||
actix-rt = "2.9.0"
|
||||
actix-web = "4.5.1"
|
||||
async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
|
||||
argon2 = { version = "0.5.0", features = ["std"] }
|
||||
async-trait = "0.1.68"
|
||||
base64 = "0.21.2"
|
||||
argon2 = { version = "0.5.3", features = ["std"] }
|
||||
async-trait = "0.1.79"
|
||||
base64 = "0.22.0"
|
||||
bb8 = "0.8"
|
||||
bigdecimal = "0.3.1"
|
||||
blake3 = "1.3.3"
|
||||
bytes = "1.4.0"
|
||||
clap = { version = "4.3.2", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
config = { version = "0.13.3", features = ["toml"] }
|
||||
cookie = "0.18.0"
|
||||
diesel = { version = "2.1.0", features = ["postgres"] }
|
||||
digest = "0.9"
|
||||
dyn-clone = "1.0.11"
|
||||
encoding_rs = "0.8.32"
|
||||
blake3 = "1.5.1"
|
||||
bytes = "1.6.0"
|
||||
clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
config = { version = "0.14.0", features = ["toml"] }
|
||||
cookie = "0.18.1"
|
||||
diesel = { version = "2.1.5", features = ["postgres"] }
|
||||
digest = "0.10.7"
|
||||
dyn-clone = "1.0.17"
|
||||
encoding_rs = "0.8.33"
|
||||
error-stack = "0.4.1"
|
||||
futures = "0.3.28"
|
||||
futures = "0.3.30"
|
||||
hex = "0.4.3"
|
||||
http = "0.2.9"
|
||||
hyper = "0.14.27"
|
||||
image = "0.23.14"
|
||||
infer = "0.13.0"
|
||||
josekit = "0.8.3"
|
||||
jsonwebtoken = "8.3.0"
|
||||
maud = { version = "0.25", features = ["actix-web"] }
|
||||
http = "0.2.12"
|
||||
hyper = "0.14.28"
|
||||
image = { version = "0.25.1", default-features = false, features = ["png"] }
|
||||
infer = "0.15.0"
|
||||
josekit = "0.8.6"
|
||||
jsonwebtoken = "9.2.0"
|
||||
maud = { version = "0.26.0", features = ["actix-web"] }
|
||||
mimalloc = { version = "0.1", optional = true }
|
||||
mime = "0.3.17"
|
||||
nanoid = "0.4.0"
|
||||
num_cpus = "1.15.0"
|
||||
once_cell = "1.18.0"
|
||||
openssl = "0.10.60"
|
||||
qrcode = "0.12.0"
|
||||
num_cpus = "1.16.0"
|
||||
once_cell = "1.19.0"
|
||||
openssl = "0.10.64"
|
||||
qrcode = "0.14.0"
|
||||
rand = "0.8.5"
|
||||
rand_chacha = "0.3.1"
|
||||
regex = "1.8.4"
|
||||
reqwest = { version = "0.11.18", features = ["json", "native-tls", "gzip", "multipart"] }
|
||||
ring = "0.16.20"
|
||||
roxmltree = "0.18.0"
|
||||
rust_decimal = { version = "1.30.0", features = ["serde-with-float", "serde-with-str"] }
|
||||
regex = "1.10.4"
|
||||
reqwest = { version = "0.11.27", features = ["json", "native-tls", "gzip", "multipart"] }
|
||||
ring = "0.17.8"
|
||||
roxmltree = "0.19.0"
|
||||
rust_decimal = { version = "1.35.0", features = ["serde-with-float", "serde-with-str"] }
|
||||
rustc-hash = "1.1.0"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
serde_path_to_error = "0.1.14"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
serde_path_to_error = "0.1.16"
|
||||
serde_qs = { version = "0.12.0", optional = true }
|
||||
serde_urlencoded = "0.7.1"
|
||||
serde_with = "3.4.0"
|
||||
sha-1 = { version = "0.9" }
|
||||
sqlx = { version = "0.6.3", features = ["postgres", "runtime-actix", "runtime-actix-native-tls", "time", "bigdecimal"] }
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
serde_with = "3.7.0"
|
||||
sha1 = { version = "0.10.6" }
|
||||
sqlx = { version = "0.7.3", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] }
|
||||
strum = { version = "0.26", features = ["derive"] }
|
||||
tera = "1.19.1"
|
||||
thiserror = "1.0.40"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
unicode-segmentation = "1.10.1"
|
||||
url = { version = "2.4.0", features = ["serde"] }
|
||||
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order", "time"] }
|
||||
uuid = { version = "1.7.0", features = ["v4"] }
|
||||
validator = "0.16.0"
|
||||
x509-parser = "0.15.0"
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
unicode-segmentation = "1.11.0"
|
||||
url = { version = "2.5.0", features = ["serde"] }
|
||||
utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order", "time"] }
|
||||
uuid = { version = "1.8.0", features = ["v4"] }
|
||||
validator = "0.17.0"
|
||||
x509-parser = "0.16.0"
|
||||
tracing-futures = { version = "0.2.5", features = ["tokio"] }
|
||||
|
||||
# First party crates
|
||||
@ -123,25 +118,25 @@ router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra
|
||||
scheduler = { version = "0.1.0", path = "../scheduler", default-features = false }
|
||||
storage_impl = { version = "0.1.0", path = "../storage_impl", default-features = false }
|
||||
openapi = { version = "0.1.0", path = "../openapi", optional = true }
|
||||
erased-serde = "0.3.31"
|
||||
erased-serde = "0.4.4"
|
||||
quick-xml = { version = "0.31.0", features = ["serialize"] }
|
||||
rdkafka = "0.36.0"
|
||||
rdkafka = "0.36.2"
|
||||
isocountry = "0.3.2"
|
||||
iso_currency = "0.4.4"
|
||||
actix-http = "3.3.1"
|
||||
actix-http = "3.6.0"
|
||||
|
||||
[build-dependencies]
|
||||
router_env = { version = "0.1.0", path = "../router_env", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-http = "3.3.1"
|
||||
awc = { version = "3.1.1", features = ["rustls"] }
|
||||
actix-http = "3.6.0"
|
||||
awc = { version = "3.4.0", features = ["rustls"] }
|
||||
derive_deref = "1.1.1"
|
||||
rand = "0.8.5"
|
||||
serial_test = "2.0.0"
|
||||
time = { version = "0.3.21", features = ["macros"] }
|
||||
tokio = "1.36.0"
|
||||
wiremock = "0.5.18"
|
||||
serial_test = "3.0.0"
|
||||
time = { version = "0.3.34", features = ["macros"] }
|
||||
tokio = "1.37.0"
|
||||
wiremock = "0.6.0"
|
||||
|
||||
|
||||
# First party dev-dependencies
|
||||
|
||||
@ -85,11 +85,13 @@ static BLOCKED_EMAIL: Lazy<HashSet<String>> = Lazy::new(|| {
|
||||
|
||||
impl UserEmail {
|
||||
pub fn new(email: Secret<String, pii::EmailStrategy>) -> UserResult<Self> {
|
||||
use validator::ValidateEmail;
|
||||
|
||||
let email_string = email.expose();
|
||||
let email =
|
||||
pii::Email::from_str(&email_string).change_context(UserErrors::EmailParsingError)?;
|
||||
|
||||
if validator::validate_email(&email_string) {
|
||||
if email_string.validate_email() {
|
||||
let (_username, domain) = match email_string.as_str().split_once('@') {
|
||||
Some((u, d)) => (u, d),
|
||||
None => return Err(UserErrors::EmailParsingError.into()),
|
||||
@ -105,8 +107,10 @@ impl UserEmail {
|
||||
}
|
||||
|
||||
pub fn from_pii_email(email: pii::Email) -> UserResult<Self> {
|
||||
use validator::ValidateEmail;
|
||||
|
||||
let email_string = email.peek();
|
||||
if validator::validate_email(email_string) {
|
||||
if email_string.validate_email() {
|
||||
let (_username, domain) = match email_string.split_once('@') {
|
||||
Some((u, d)) => (u, d),
|
||||
None => return Err(UserErrors::EmailParsingError.into()),
|
||||
|
||||
@ -176,15 +176,15 @@ impl QrImage {
|
||||
let qrcode_image_buffer = qr_code.render::<Luma<u8>>().build();
|
||||
let qrcode_dynamic_image = image::DynamicImage::ImageLuma8(qrcode_image_buffer);
|
||||
|
||||
let mut image_bytes = Vec::new();
|
||||
let mut image_bytes = std::io::BufWriter::new(std::io::Cursor::new(Vec::new()));
|
||||
|
||||
// Encodes qrcode_dynamic_image and write it to image_bytes
|
||||
let _ = qrcode_dynamic_image.write_to(&mut image_bytes, image::ImageOutputFormat::Png);
|
||||
let _ = qrcode_dynamic_image.write_to(&mut image_bytes, image::ImageFormat::Png);
|
||||
|
||||
let image_data_source = format!(
|
||||
"{},{}",
|
||||
consts::QR_IMAGE_DATA_SOURCE_STRING,
|
||||
consts::BASE64_ENGINE.encode(image_bytes)
|
||||
consts::BASE64_ENGINE.encode(image_bytes.get_ref().get_ref())
|
||||
);
|
||||
Ok(Self {
|
||||
data: image_data_source,
|
||||
|
||||
@ -12,14 +12,13 @@ proc-macro = true
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
indexmap = "2.1.0"
|
||||
proc-macro2 = "1.0.56"
|
||||
quote = "1.0.26"
|
||||
syn = { version = "2.0.5", features = ["full", "extra-traits"] } # the full feature does not seem to encompass all the features
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
indexmap = "2.2.6"
|
||||
proc-macro2 = "1.0.79"
|
||||
quote = "1.0.35"
|
||||
syn = { version = "2.0.57", features = ["full", "extra-traits"] } # the full feature does not seem to encompass all the features
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
diesel = { version = "2.1.0", features = ["postgres"] }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
|
||||
diesel = { version = "2.1.5", features = ["postgres"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
|
||||
@ -9,33 +9,33 @@ license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
cargo_metadata = "0.18.1"
|
||||
config = { version = "0.13.3", features = ["toml"] }
|
||||
config = { version = "0.14.0", features = ["toml"] }
|
||||
error-stack = "0.4.1"
|
||||
gethostname = "0.4.3"
|
||||
once_cell = "1.18.0"
|
||||
once_cell = "1.19.0"
|
||||
opentelemetry = { version = "0.19.0", features = ["rt-tokio-current-thread", "metrics"] }
|
||||
opentelemetry-otlp = { version = "0.12.0", features = ["metrics"] }
|
||||
rustc-hash = "1.1"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
serde_path_to_error = "0.1.14"
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
time = { version = "0.3.21", default-features = false, features = ["formatting"] }
|
||||
tokio = { version = "1.36.0" }
|
||||
tracing = { version = "0.1.37" }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
serde_path_to_error = "0.1.16"
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
time = { version = "0.3.34", default-features = false, features = ["formatting"] }
|
||||
tokio = { version = "1.37.0" }
|
||||
tracing = { version = "0.1.40" }
|
||||
tracing-actix-web = { version = "0.7.10", features = ["opentelemetry_0_19", "uuid_v7"], optional = true }
|
||||
tracing-appender = { version = "0.2.2" }
|
||||
tracing-appender = { version = "0.2.3" }
|
||||
tracing-attributes = "0.1.27"
|
||||
tracing-opentelemetry = { version = "0.19.0" }
|
||||
tracing-subscriber = { version = "0.3.17", default-features = true, features = ["env-filter", "json", "registry"] }
|
||||
vergen = { version = "8.2.1", optional = true, features = ["cargo", "git", "git2", "rustc"] }
|
||||
tracing-subscriber = { version = "0.3.18", default-features = true, features = ["env-filter", "json", "registry"] }
|
||||
vergen = { version = "8.3.1", optional = true, features = ["cargo", "git", "git2", "rustc"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[build-dependencies]
|
||||
cargo_metadata = "0.18.1"
|
||||
vergen = { version = "8.2.1", features = ["cargo", "git", "git2", "rustc"], optional = true }
|
||||
vergen = { version = "8.3.1", features = ["cargo", "git", "git2", "rustc"], optional = true }
|
||||
|
||||
[features]
|
||||
default = ["actix_web", "payouts"]
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
[package]
|
||||
name = "scheduler"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["kv_store", "olap"]
|
||||
@ -11,19 +13,19 @@ email = ["external_services/email"]
|
||||
|
||||
[dependencies]
|
||||
# Third party crates
|
||||
async-trait = "0.1.68"
|
||||
async-trait = "0.1.79"
|
||||
error-stack = "0.4.1"
|
||||
futures = "0.3.28"
|
||||
num_cpus = "1.15.0"
|
||||
once_cell = "1.18.0"
|
||||
futures = "0.3.30"
|
||||
num_cpus = "1.16.0"
|
||||
once_cell = "1.19.0"
|
||||
rand = "0.8.5"
|
||||
serde = "1.0.193"
|
||||
serde_json = "1.0.108"
|
||||
strum = { version = "0.24.1", features = ["derive"] }
|
||||
thiserror = "1.0.40"
|
||||
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||
uuid = { version = "1.7.0", features = ["v4"] }
|
||||
serde = "1.0.197"
|
||||
serde_json = "1.0.115"
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
time = { version = "0.3.34", features = ["serde", "serde-well-known", "std"] }
|
||||
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
|
||||
uuid = { version = "1.8.0", features = ["v4"] }
|
||||
|
||||
# First party crates
|
||||
common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext"] }
|
||||
|
||||
@ -26,23 +26,22 @@ router_derive = { version = "0.1.0", path = "../router_derive" }
|
||||
router_env = { version = "0.1.0", path = "../router_env" }
|
||||
|
||||
# Third party crates
|
||||
actix-web = "4.3.1"
|
||||
actix-web = "4.5.1"
|
||||
async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
|
||||
async-trait = "0.1.72"
|
||||
bb8 = "0.8.1"
|
||||
bytes = "1.4.0"
|
||||
config = { version = "0.13.3", features = ["toml"] }
|
||||
crc32fast = "1.3.2"
|
||||
diesel = { version = "2.1.0", default-features = false, features = ["postgres"] }
|
||||
dyn-clone = "1.0.12"
|
||||
async-trait = "0.1.79"
|
||||
bb8 = "0.8.3"
|
||||
bytes = "1.6.0"
|
||||
config = { version = "0.14.0", features = ["toml"] }
|
||||
crc32fast = "1.4.0"
|
||||
diesel = { version = "2.1.5", default-features = false, features = ["postgres"] }
|
||||
dyn-clone = "1.0.17"
|
||||
error-stack = "0.4.1"
|
||||
futures = "0.3.28"
|
||||
http = "0.2.9"
|
||||
futures = "0.3.30"
|
||||
http = "0.2.12"
|
||||
mime = "0.3.17"
|
||||
moka = { version = "0.12", features = ["future"] }
|
||||
once_cell = "1.18.0"
|
||||
ring = "0.16.20"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
thiserror = "1.0.40"
|
||||
tokio = { version = "1.36.0", features = ["rt-multi-thread"] }
|
||||
once_cell = "1.19.0"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
thiserror = "1.0.58"
|
||||
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
|
||||
|
||||
@ -12,30 +12,6 @@ use crate::{errors as storage_errors, store::errors::DatabaseError};
|
||||
|
||||
pub type ApplicationResult<T> = Result<T, ApplicationError>;
|
||||
|
||||
macro_rules! impl_error_display {
|
||||
($st: ident, $arg: tt) => {
|
||||
impl Display for $st {
|
||||
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(
|
||||
fmt,
|
||||
"{{ error_type: {:?}, error_description: {} }}",
|
||||
self, $arg
|
||||
)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
macro_rules! impl_error_type {
|
||||
($name: ident, $arg: tt) => {
|
||||
#[derive(Debug)]
|
||||
pub struct $name;
|
||||
|
||||
impl_error_display!($name, $arg);
|
||||
|
||||
impl std::error::Error for $name {}
|
||||
};
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum StorageError {
|
||||
#[error("DatabaseError: {0:?}")]
|
||||
@ -176,8 +152,6 @@ impl RedisErrorExt for error_stack::Report<RedisError> {
|
||||
}
|
||||
}
|
||||
|
||||
impl_error_type!(EncryptionError, "Encryption error");
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum ApplicationError {
|
||||
// Display's impl can be overridden by the attribute error marco.
|
||||
@ -210,12 +184,6 @@ impl From<std::io::Error> for ApplicationError {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<ring::error::Unspecified> for EncryptionError {
|
||||
fn from(_: ring::error::Unspecified) -> Self {
|
||||
Self
|
||||
}
|
||||
}
|
||||
|
||||
impl From<ConfigError> for ApplicationError {
|
||||
fn from(err: ConfigError) -> Self {
|
||||
Self::ConfigurationError(err)
|
||||
|
||||
@ -13,20 +13,20 @@ dummy_connector = []
|
||||
payouts = []
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.68"
|
||||
base64 = "0.21.2"
|
||||
clap = { version = "4.3.2", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
async-trait = "0.1.79"
|
||||
base64 = "0.22.0"
|
||||
clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] }
|
||||
rand = "0.8.5"
|
||||
regex = "1.10.3"
|
||||
reqwest = { version = "0.11.18", features = ["native-tls"] }
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
regex = "1.10.4"
|
||||
reqwest = { version = "0.11.27", features = ["native-tls"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.115"
|
||||
serde_urlencoded = "0.7.1"
|
||||
serial_test = "2.0.0"
|
||||
serial_test = "3.0.0"
|
||||
thirtyfour = "0.31.0"
|
||||
time = { version = "0.3.21", features = ["macros"] }
|
||||
tokio = "1.36.0"
|
||||
toml = "0.7.4"
|
||||
time = { version = "0.3.34", features = ["macros"] }
|
||||
tokio = "1.37.0"
|
||||
toml = "0.8.12"
|
||||
|
||||
# First party crates
|
||||
masking = { version = "0.1.0", path = "../masking" }
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
use serial_test::serial;
|
||||
use thirtyfour::{prelude::*, WebDriver};
|
||||
|
||||
use crate::{selenium::*, tester};
|
||||
@ -28,7 +27,6 @@ async fn should_make_webhook(web_driver: WebDriver) -> Result<(), WebDriverError
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn should_make_webhook_test() {
|
||||
tester!(should_make_webhook);
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
use rand::Rng;
|
||||
use serial_test::serial;
|
||||
use thirtyfour::{prelude::*, WebDriver};
|
||||
|
||||
use crate::{selenium::*, tester};
|
||||
@ -31,7 +30,6 @@ async fn should_make_webhook(web_driver: WebDriver) -> Result<(), WebDriverError
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn should_make_webhook_test() {
|
||||
tester!(should_make_webhook);
|
||||
}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
use serial_test::serial;
|
||||
use thirtyfour::{prelude::*, WebDriver};
|
||||
|
||||
use crate::{selenium::*, tester};
|
||||
@ -28,7 +27,6 @@ async fn should_make_webhook(web_driver: WebDriver) -> Result<(), WebDriverError
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn should_make_webhook_test() {
|
||||
tester!(should_make_webhook);
|
||||
}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
use serial_test::serial;
|
||||
use thirtyfour::{prelude::*, WebDriver};
|
||||
|
||||
use crate::{selenium::*, tester};
|
||||
@ -33,7 +32,6 @@ async fn should_make_webhook(web_driver: WebDriver) -> Result<(), WebDriverError
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn should_make_webhook_test() {
|
||||
tester!(should_make_webhook);
|
||||
}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
use serial_test::serial;
|
||||
use thirtyfour::{prelude::*, WebDriver};
|
||||
|
||||
use crate::{selenium::*, tester};
|
||||
@ -29,8 +28,6 @@ async fn should_make_webhook(web_driver: WebDriver) -> Result<(), WebDriverError
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
|
||||
fn should_make_webhook_test() {
|
||||
tester!(should_make_webhook);
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@ ARG RUN_ENV=sandbox
|
||||
ARG EXTRA_FEATURES=""
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libssl-dev pkg-config
|
||||
&& apt-get install -y clang libssl-dev pkg-config
|
||||
|
||||
ENV CARGO_INCREMENTAL=0
|
||||
# Allow more retries for network requests in cargo (downloading crates) and
|
||||
|
||||
@ -4709,7 +4709,8 @@
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"AddressDetails": {
|
||||
"type": "object",
|
||||
@ -4778,7 +4779,8 @@
|
||||
"nullable": true,
|
||||
"maxLength": 255
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"AirwallexData": {
|
||||
"type": "object",
|
||||
@ -6560,7 +6562,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"BusinessProfileResponse": {
|
||||
"type": "object",
|
||||
@ -6856,7 +6859,8 @@
|
||||
"description": "Card Type",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CardDetailFromLocker": {
|
||||
"type": "object",
|
||||
@ -7513,7 +7517,8 @@
|
||||
"expiration": {
|
||||
"$ref": "#/components/schemas/ApiKeyExpiration"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CreateApiKeyResponse": {
|
||||
"type": "object",
|
||||
@ -7752,7 +7757,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CustomerDefaultPaymentMethodResponse": {
|
||||
"type": "object",
|
||||
@ -8841,7 +8847,8 @@
|
||||
},
|
||||
"description": "payment methods that can be used in the payment"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"FrmMessage": {
|
||||
"type": "object",
|
||||
@ -8897,7 +8904,8 @@
|
||||
},
|
||||
"description": "payment method types(credit, debit) that can be used in the payment"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"FrmPaymentMethodType": {
|
||||
"type": "object",
|
||||
@ -8921,7 +8929,8 @@
|
||||
"action": {
|
||||
"$ref": "#/components/schemas/FrmAction"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"FrmPreferredFlowTypes": {
|
||||
"type": "string",
|
||||
@ -9862,7 +9871,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MandateResponse": {
|
||||
"type": "object",
|
||||
@ -10120,7 +10130,8 @@
|
||||
"description": "The id of the organization to which the merchant belongs to",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantAccountDeleteResponse": {
|
||||
"type": "object",
|
||||
@ -10405,7 +10416,8 @@
|
||||
"nullable": true,
|
||||
"maxLength": 64
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantConnectorCreate": {
|
||||
"type": "object",
|
||||
@ -10556,7 +10568,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantConnectorDeleteResponse": {
|
||||
"type": "object",
|
||||
@ -10789,7 +10802,8 @@
|
||||
"status": {
|
||||
"$ref": "#/components/schemas/ConnectorStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantConnectorUpdate": {
|
||||
"type": "object",
|
||||
@ -10902,7 +10916,8 @@
|
||||
"status": {
|
||||
"$ref": "#/components/schemas/ConnectorStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantConnectorWebhookDetails": {
|
||||
"type": "object",
|
||||
@ -10919,7 +10934,8 @@
|
||||
"type": "string",
|
||||
"example": "12345678900987654321"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantDetails": {
|
||||
"type": "object",
|
||||
@ -10988,7 +11004,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MerchantRoutingAlgorithm": {
|
||||
"type": "object",
|
||||
@ -11370,7 +11387,8 @@
|
||||
"type": "string",
|
||||
"description": "The user-agent of the customer's browser"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"OrderDetails": {
|
||||
"type": "object",
|
||||
@ -12203,7 +12221,8 @@
|
||||
"example": "2022-09-10T10:11:12Z",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PaymentListResponse": {
|
||||
"type": "object",
|
||||
@ -12315,7 +12334,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PaymentMethodData": {
|
||||
"oneOf": [
|
||||
@ -12842,7 +12862,8 @@
|
||||
"description": "You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object.",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PaymentMethodsEnabled": {
|
||||
"type": "object",
|
||||
@ -12865,7 +12886,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PaymentRetrieveBody": {
|
||||
"type": "object",
|
||||
@ -14246,7 +14268,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PaymentsResponse": {
|
||||
"type": "object",
|
||||
@ -15542,7 +15565,8 @@
|
||||
"description": "The business profile to use for this payment, if not passed the default business profile\nassociated with the merchant account will be used.",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PayoutCreateResponse": {
|
||||
"type": "object",
|
||||
@ -15711,7 +15735,8 @@
|
||||
"description": "List of attempts",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PayoutEntityType": {
|
||||
"type": "string",
|
||||
@ -16084,7 +16109,8 @@
|
||||
"type": "string",
|
||||
"example": "food"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ProductType": {
|
||||
"type": "string",
|
||||
@ -16386,7 +16412,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"RefundResponse": {
|
||||
"type": "object",
|
||||
@ -16501,7 +16528,8 @@
|
||||
"description": "You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object.",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"RequestPaymentMethodTypes": {
|
||||
"type": "object",
|
||||
@ -17760,7 +17788,8 @@
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"UpiData": {
|
||||
"type": "object",
|
||||
@ -18429,7 +18458,8 @@
|
||||
"example": true,
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"securitySchemes": {
|
||||
|
||||
Reference in New Issue
Block a user