Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
feat: add ci support for mock server (#8742)
Pa1NarK03bdcfea678c
diff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.ymlindex 815030af2d..5bcf00dbf2 100644--- a/.github/workflows/cypress-tests-runner.yml+++ b/.github/workflows/cypress-tests-runner.yml@@ -14,6 +14,7 @@ env:CARGO_INCREMENTAL: 0CARGO_NET_RETRY: 10PAYMENTS_CONNECTORS: "cybersource stripe"+ ALPHA_PAYMENTS_CONNECTORS: "silverflow"RUST_BACKTRACE: shortRUSTUP_MAX_RETRIES: 10RUN_TESTS: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)) || (github.event_name == 'merge_group')}}@@ -80,8 +81,61 @@ jobs:git pushfi+ build-hyperswitch:+ name: Build hyperswitch server+ runs-on: ubuntu-latest+ steps:+ - name: Skip tests for PRs from forks+ shell: bash+ if: ${{ env.RUN_TESTS == 'false' }}+ run: echo 'Skipping tests for PRs from forks'++ - name: Checkout repository+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/checkout@v4++ - name: Install mold linker+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: rui314/setup-mold@v1+ with:+ make-default: true++ - name: Install Rust+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: dtolnay/rust-toolchain@master+ with:+ toolchain: stable 2 weeks ago+ components: clippy++ - name: Install Protoc+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: arduino/setup-protoc@v3+ with:+ repo-token: ${{ secrets.GITHUB_TOKEN }}++ - name: Install sccache+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: taiki-e/install-action@v2+ with:+ tool: sccache+ checksum: true++ - name: Build project+ if: ${{ env.RUN_TESTS == 'true' }}+ run: cargo build --package router --bin router --jobs 3++ - name: Upload binary artifact+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/upload-artifact@v4+ with:+ name: hyperswitch-server+ overwrite: true+ path: target/debug/router+ retention-days: 1+runner:- name: Run Cypress tests+ name: Run mandatory Cypress tests+ needs: build-hyperswitchruns-on: ubuntu-latestservices:@@ -110,14 +164,25 @@ jobs:steps:- name: Skip tests for PRs from forks- shell: bashif: ${{ env.RUN_TESTS == 'false' }}+ shell: bashrun: echo 'Skipping tests for PRs from forks'- name: Checkout repositoryif: ${{ env.RUN_TESTS == 'true' }}uses: actions/checkout@v4+ - name: Download hyperswitch server artifact+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/download-artifact@v4+ with:+ name: hyperswitch-server+ path: target/debug++ - name: Make server executable+ if: ${{ env.RUN_TESTS == 'true' }}+ run: chmod +x target/debug/router+- name: Download Encrypted TOML from S3 and Decryptif: ${{ env.RUN_TESTS == 'true' }}env:@@ -127,7 +192,7 @@ jobs:CONNECTOR_AUTH_PASSPHRASE: ${{ secrets.CONNECTOR_AUTH_PASSPHRASE }}CONNECTOR_CREDS_S3_BUCKET_URI: ${{ secrets.CONNECTOR_CREDS_S3_BUCKET_URI}}DESTINATION_FILE_NAME: "creds.json.gpg"- S3_SOURCE_FILE_NAME: "fa1c07a5-f9c8-4e90-b9c7-b90cb8263015.json.gpg"+ S3_SOURCE_FILE_NAME: "6859bf7e-735b-4589-979a-ac057ed50425.json.gpg"shell: bashrun: |mkdir -p ".github/secrets" ".github/test"@@ -149,30 +214,171 @@ jobs:LOCAL_ADMIN_API_KEY=$(yq '.secrets.admin_api_key' ${TOML_PATH})echo "CYPRESS_ADMINAPIKEY=${LOCAL_ADMIN_API_KEY}" >> $GITHUB_ENV- - name: Install mold linker- if: ${{ runner.os == 'Linux' && env.RUN_TESTS == 'true' }}- uses: rui314/setup-mold@v1+ - name: Install Diesel CLI+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: baptiste0928/[email protected]with:- make-default: true+ crate: diesel_cli+ features: postgres+ args: --no-default-features- - name: Install Rust+ - name: Install Justif: ${{ env.RUN_TESTS == 'true' }}- uses: dtolnay/rust-toolchain@master+ uses: taiki-e/install-action@v2with:- toolchain: stable 2 weeks ago- components: clippy+ tool: just+ checksum: true- - name: Install Protoc- uses: arduino/setup-protoc@v3+ - name: Install Node.js+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/setup-node@v4with:- repo-token: ${{ secrets.GITHUB_TOKEN }}+ node-version: "20"- - name: Install sccache+ - name: Install Cypress and dependenciesif: ${{ env.RUN_TESTS == 'true' }}- uses: taiki-e/install-action@v2+ run: |+ npm ci --prefix ./cypress-tests++ - name: Run database migrations+ if: ${{ env.RUN_TESTS == 'true' }}+ shell: bash+ env:+ DATABASE_URL: postgres://db_user:db_pass@localhost:5432/hyperswitch_db+ run: just migrate run --locked-schema++ - name: Insert card info into the database+ if: ${{ env.RUN_TESTS == 'true' }}+ run: |+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"++ - name: Setup Local Server+ if: ${{ env.RUN_TESTS == 'true' }}+ env:+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE }}+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC_KEY: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_KEY }}+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE }}+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT_KEY: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE_KEY }}+ run: |+ # Start the server in the background+ target/debug/router &++ SERVER_PID=$!+ echo "PID=${SERVER_PID}" >> $GITHUB_ENV++ # Wait for the server to start in port 8080+ COUNT=0+ while ! nc -z localhost 8080; do+ if [ $COUNT -gt 12 ]; then # Wait for up to 2 minutes (12 * 10 seconds)+ echo "Server did not start within a reasonable time. Exiting."+ kill ${SERVER_PID}+ exit 1+ else+ COUNT=$((COUNT+1))+ sleep 10+ fi+ done++ - name: Run Cypress tests+ if: ${{ env.RUN_TESTS == 'true' }}+ env:+ CYPRESS_BASEURL: "http://localhost:8080"+ ROUTER__SERVER__WORKERS: 4+ shell: bash -leuo pipefail {0}+ run: |+ scripts/execute_cypress.sh++ kill "${{ env.PID }}"++ - name: Upload Cypress test results+ if: env.RUN_TESTS == 'true' && failure()+ uses: actions/upload-artifact@v4with:- tool: sccache- checksum: true+ name: cypress-test-results+ path: |+ cypress-tests/cypress/reports/+ retention-days: 1++ runner_alpha:+ name: Run optional Cypress tests for alpha connectors+ needs: build-hyperswitch+ runs-on: ubuntu-latest++ services:+ redis:+ image: "public.ecr.aws/docker/library/redis:alpine"+ options: >-+ --health-cmd "redis-cli ping"+ --health-interval 10s+ --health-timeout 5s+ --health-retries 5+ ports:+ - 6379:6379+ postgres:+ image: "public.ecr.aws/docker/library/postgres:alpine"+ env:+ POSTGRES_USER: db_user+ POSTGRES_PASSWORD: db_pass+ POSTGRES_DB: hyperswitch_db+ options: >-+ --health-cmd pg_isready+ --health-interval 10s+ --health-timeout 5s+ --health-retries 5+ ports:+ - 5432:5432++ steps:+ - name: Skip tests for PRs from forks+ if: ${{ env.RUN_TESTS == 'false' }}+ shell: bash+ run: echo 'Skipping tests for PRs from forks'++ - name: Checkout repository+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/checkout@v4++ - name: Download hyperswitch server artifact+ if: ${{ env.RUN_TESTS == 'true' }}+ uses: actions/download-artifact@v4+ with:+ name: hyperswitch-server+ path: target/debug++ - name: Make server executable+ if: ${{ env.RUN_TESTS == 'true' }}+ run: chmod +x target/debug/router++ - name: Download Encrypted JSON from S3 and Decrypt+ if: ${{ env.RUN_TESTS == 'true' }}+ env:+ AWS_ACCESS_KEY_ID: ${{ secrets.CONNECTOR_CREDS_AWS_ACCESS_KEY_ID }}+ AWS_REGION: ${{ secrets.CONNECTOR_CREDS_AWS_REGION }}+ AWS_SECRET_ACCESS_KEY: ${{ secrets.CONNECTOR_CREDS_AWS_SECRET_ACCESS_KEY }}+ CONNECTOR_AUTH_PASSPHRASE: ${{ secrets.CONNECTOR_AUTH_PASSPHRASE }}+ CONNECTOR_CREDS_S3_BUCKET_URI: ${{ secrets.CONNECTOR_CREDS_S3_BUCKET_URI}}+ DESTINATION_FILE_NAME: "creds.json.gpg"+ S3_SOURCE_FILE_NAME: "6859bf7e-735b-4589-979a-ac057ed50425.json.gpg"+ shell: bash+ run: |+ mkdir -p ".github/secrets" ".github/test"++ aws s3 cp "${CONNECTOR_CREDS_S3_BUCKET_URI}/${S3_SOURCE_FILE_NAME}" ".github/secrets/${DESTINATION_FILE_NAME}"+ gpg --quiet --batch --yes --decrypt --passphrase="${CONNECTOR_AUTH_PASSPHRASE}" --output ".github/test/creds.json" ".github/secrets/${DESTINATION_FILE_NAME}"++ - name: Set paths in env+ if: ${{ env.RUN_TESTS == 'true' }}+ shell: bash+ run: |+ echo "CYPRESS_CONNECTOR_AUTH_FILE_PATH=${{ github.workspace }}/.github/test/creds.json" >> $GITHUB_ENV++ - name: Fetch keys+ if: ${{ env.RUN_TESTS == 'true' }}+ env:+ TOML_PATH: "./config/development.toml"+ run: |+ LOCAL_ADMIN_API_KEY=$(yq '.secrets.admin_api_key' ${TOML_PATH})+ echo "CYPRESS_ADMINAPIKEY=${LOCAL_ADMIN_API_KEY}" >> $GITHUB_ENV- name: Install Diesel CLIif: ${{ env.RUN_TESTS == 'true' }}@@ -212,11 +418,38 @@ jobs:run: |PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"- - name: Build project+ - name: Start mock servers for alpha connectorsif: ${{ env.RUN_TESTS == 'true' }}- run: cargo build --package router --bin router --jobs 3+ run: |+ # Start mock servers for each alpha connector+ for connector in ${{ env.ALPHA_PAYMENTS_CONNECTORS }}; do+ pascal_case_connector="$(echo "$connector" | sed -E 's/(^|_)([a-z])/\U\2/g')"+ if [ -f "cypress-tests/cypress/e2e/configs/mock-server/${pascal_case_connector}.js" ]; then+ echo "Starting mock server for ${connector}"+ cd cypress-tests++ node "cypress/e2e/configs/mock-server/${pascal_case_connector}.js" &++ MOCK_PID=$!+ echo "MOCK_${connector^^}_PID=${MOCK_PID}" >> $GITHUB_ENV+ cd ..++ # Wait for mock server to be ready+ COUNT=0+ while ! nc -z localhost 3010; do+ if [ $COUNT -gt 6 ]; then # Wait for up to 1 minute (6 * 10 seconds)+ echo "Mock server for ${connector} did not start within a reasonable time."+ exit 1+ else+ COUNT=$((COUNT+1))+ sleep 10+ fi+ done+ echo "Mock server for ${connector} is ready"+ fi+ done- - name: Setup Local Server+ - name: Setup Local Server with Alpha Connector Configsif: ${{ env.RUN_TESTS == 'true' }}env:ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE }}@@ -224,6 +457,13 @@ jobs:ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE }}ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT_KEY: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE_KEY }}run: |+ # Set base URLs for alpha connectors to point to mock servers+ for connector in ${{ env.ALPHA_PAYMENTS_CONNECTORS }}; do+ CONNECTOR_ENV_VAR="ROUTER__CONNECTORS__$(echo ${connector} | tr '[:lower:]' '[:upper:]')__BASE_URL"+ export ${CONNECTOR_ENV_VAR}="http://localhost:3010"+ echo "${CONNECTOR_ENV_VAR}=http://localhost:3010" >> $GITHUB_ENV+ done+# Start the server in the backgroundtarget/debug/router &@@ -243,22 +483,33 @@ jobs:fidone- - name: Run Cypress tests+ - name: Run Cypress tests for Alpha Connectorsif: ${{ env.RUN_TESTS == 'true' }}env:CYPRESS_BASEURL: "http://localhost:8080"ROUTER__SERVER__WORKERS: 4+ PAYMENTS_CONNECTORS: ${{ env.ALPHA_PAYMENTS_CONNECTORS }}shell: bash -leuo pipefail {0}run: |+ # Run tests for alpha connectorsscripts/execute_cypress.sh+ # Cleanupkill "${{ env.PID }}"- - name: Upload Cypress test results+ # Kill mock servers+ for connector in ${{ env.ALPHA_PAYMENTS_CONNECTORS }}; do+ VAR_NAME="MOCK_${connector^^}_PID"+ if [ -n "${!VAR_NAME:-}" ]; then+ kill "${!VAR_NAME}" || true+ fi+ done++ - name: Upload Cypress test results for Alpha Connectorsif: env.RUN_TESTS == 'true' && failure()uses: actions/upload-artifact@v4with:- name: cypress-test-results+ name: cypress-test-results-alphapath: |cypress-tests/cypress/reports/retention-days: 1@@ -312,7 +563,7 @@ jobs:CONNECTOR_AUTH_PASSPHRASE: ${{ secrets.CONNECTOR_AUTH_PASSPHRASE }}CONNECTOR_CREDS_S3_BUCKET_URI: ${{ secrets.CONNECTOR_CREDS_S3_BUCKET_URI}}DESTINATION_FILE_NAME: "creds.json.gpg"- S3_SOURCE_FILE_NAME: "aa328308-b34e-41b7-a590-4fe45cfe7991.json.gpg"+ S3_SOURCE_FILE_NAME: "6859bf7e-735b-4589-979a-ac057ed50425.json.gpg"shell: bashrun: |mkdir -p ".github/secrets" ".github/test"diff --git a/api-reference/v1/openapi_spec_v1.json b/api-reference/v1/openapi_spec_v1.jsonindex 861c5ae23e..cf48cef794 100644--- a/api-reference/v1/openapi_spec_v1.json+++ b/api-reference/v1/openapi_spec_v1.json@@ -11747,6 +11747,7 @@"redsys","santander","shift4",+ "silverflow","square","stax","stripe",@@ -29347,6 +29348,7 @@"santander","shift4","signifyd",+ "silverflow","square","stax","stripe",diff --git a/api-reference/v2/openapi_spec_v2.json b/api-reference/v2/openapi_spec_v2.jsonindex 5ec220952b..dc3578ef61 100644--- a/api-reference/v2/openapi_spec_v2.json+++ b/api-reference/v2/openapi_spec_v2.json@@ -8309,6 +8309,7 @@"redsys","santander","shift4",+ "silverflow","square","stax","stripe",@@ -23118,6 +23119,7 @@"santander","shift4","signifyd",+ "silverflow","square","stax","stripe",diff --git a/crates/common_enums/src/connector_enums.rs b/crates/common_enums/src/connector_enums.rsindex 5bdec1152b..d1bd11bb42 100644--- a/crates/common_enums/src/connector_enums.rs+++ b/crates/common_enums/src/connector_enums.rs@@ -145,6 +145,7 @@ pub enum RoutableConnectors {Santander,Shift4,Signifyd,+ Silverflow,Square,Stax,Stripe,@@ -315,6 +316,7 @@ pub enum Connector {Redsys,Santander,Shift4,+ Silverflow,Square,Stax,Stripe,@@ -495,6 +497,7 @@ impl Connector {| Self::Redsys| Self::Santander| Self::Shift4+ | Self::Silverflow| Self::Square| Self::Stax| Self::Stripebilling@@ -668,6 +671,7 @@ impl From<RoutableConnectors> for Connector {RoutableConnectors::Santander => Self::Santander,RoutableConnectors::Shift4 => Self::Shift4,RoutableConnectors::Signifyd => Self::Signifyd,+ RoutableConnectors::Silverflow => Self::Silverflow,RoutableConnectors::Square => Self::Square,RoutableConnectors::Stax => Self::Stax,RoutableConnectors::Stripe => Self::Stripe,@@ -795,6 +799,7 @@ impl TryFrom<Connector> for RoutableConnectors {Connector::Santander => Ok(Self::Santander),Connector::Shift4 => Ok(Self::Shift4),Connector::Signifyd => Ok(Self::Signifyd),+ Connector::Silverflow => Ok(Self::Silverflow),Connector::Square => Ok(Self::Square),Connector::Stax => Ok(Self::Stax),Connector::Stripe => Ok(Self::Stripe),diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rsindex c1d42c4fef..ef3bbb1950 100644--- a/crates/connector_configs/src/connector.rs+++ b/crates/connector_configs/src/connector.rs@@ -466,6 +466,7 @@ impl ConnectorConfig {Connector::Santander => Ok(connector_data.santander),Connector::Shift4 => Ok(connector_data.shift4),Connector::Signifyd => Ok(connector_data.signifyd),+ Connector::Silverflow => Ok(connector_data.silverflow),Connector::Square => Ok(connector_data.square),Connector::Stax => Ok(connector_data.stax),Connector::Stripe => Ok(connector_data.stripe),diff --git a/crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs b/crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rsindex 87a99417dd..2d56fa4e61 100644--- a/crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs@@ -17,7 +17,7 @@ use serde::{Deserialize, Serialize};use crate::{types::{RefundsResponseRouterData, ResponseRouterData},- utils::CardData,+ utils::{self, CardData},};//TODO: Fill the struct with respective fields@@ -67,6 +67,7 @@ pub struct SilverflowPaymentsRequest {amount: Amount,#[serde(rename = "type")]payment_type: PaymentType,+ clearing_mode: String,}#[derive(Default, Debug, Clone, Serialize, Deserialize, PartialEq)]@@ -82,6 +83,17 @@ impl TryFrom<&SilverflowRouterData<&PaymentsAuthorizeRouterData>> for Silverflowfn try_from(item: &SilverflowRouterData<&PaymentsAuthorizeRouterData>,) -> Result<Self, Self::Error> {+ // Check if 3DS is being requested - Silverflow doesn't support 3DS+ if matches!(+ item.router_data.auth_type,+ enums::AuthenticationType::ThreeDs+ ) {+ return Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("silverflow"),+ )+ .into());+ }+match item.router_data.request.payment_method_data.clone() {PaymentMethodData::Card(req_card) => {// Extract merchant acceptor key from connector auth@@ -95,6 +107,21 @@ impl TryFrom<&SilverflowRouterData<&PaymentsAuthorizeRouterData>> for Silverflowholder_name: req_card.get_cardholder_name().ok(),};+ // Determine clearing mode based on capture method+ let clearing_mode = match item.router_data.request.capture_method {+ Some(enums::CaptureMethod::Manual) => "manual".to_string(),+ Some(enums::CaptureMethod::Automatic) | None => "auto".to_string(),+ Some(enums::CaptureMethod::ManualMultiple)+ | Some(enums::CaptureMethod::Scheduled)+ | Some(enums::CaptureMethod::SequentialAutomatic) => {+ return Err(errors::ConnectorError::NotSupported {+ message: "Capture method not supported by Silverflow".to_string(),+ connector: "Silverflow",+ }+ .into());+ }+ };+Ok(Self {merchant_acceptor_resolver: MerchantAcceptorResolver {merchant_acceptor_key: auth.merchant_acceptor_key.expose(),@@ -109,9 +136,13 @@ impl TryFrom<&SilverflowRouterData<&PaymentsAuthorizeRouterData>> for Silverflowcard_entry: "e-commerce".to_string(),order: "checkout".to_string(),},+ clearing_mode,})}- _ => Err(errors::ConnectorError::NotImplemented("Payment method".to_string()).into()),+ _ => Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("silverflow"),+ )+ .into()),}}}@@ -636,7 +667,10 @@ impl TryFrom<&PaymentsAuthorizeRouterData> for SilverflowTokenizationRequest {card_data,})}- _ => Err(errors::ConnectorError::NotImplemented("Payment method".to_string()).into()),+ _ => Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("silverflow"),+ )+ .into()),}}}@@ -677,7 +711,10 @@ implcard_data,})}- _ => Err(errors::ConnectorError::NotImplemented("Payment method".to_string()).into()),+ _ => Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("silverflow"),+ )+ .into()),}}}diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rsindex d53205950d..875813f4e1 100644--- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs+++ b/crates/payment_methods/src/configs/payment_connector_required_fields.rs@@ -1492,6 +1492,7 @@ fn get_cards_required_fields() -> HashMap<Connector, RequiredFieldFinal> {(Connector::Rapyd, fields(vec![], card_with_name(), vec![])),(Connector::Redsys, fields(vec![], card_basic(), vec![])),(Connector::Shift4, fields(vec![], card_basic(), vec![])),+ (Connector::Silverflow, fields(vec![], vec![], card_basic())),(Connector::Square, fields(vec![], vec![], card_basic())),(Connector::Stax, fields(vec![], card_with_name(), vec![])),(Connector::Stripe, fields(vec![], vec![], card_basic())),diff --git a/crates/router/src/core/connector_validation.rs b/crates/router/src/core/connector_validation.rsindex 789bf7c83b..5dc7e7b72c 100644--- a/crates/router/src/core/connector_validation.rs+++ b/crates/router/src/core/connector_validation.rs@@ -432,6 +432,10 @@ impl ConnectorAuthTypeAndMetadataValidation<'_> {shift4::transformers::Shift4AuthType::try_from(self.auth_type)?;Ok(())}+ api_enums::Connector::Silverflow => {+ silverflow::transformers::SilverflowAuthType::try_from(self.auth_type)?;+ Ok(())+ }api_enums::Connector::Square => {square::transformers::SquareAuthType::try_from(self.auth_type)?;Ok(())diff --git a/crates/router/src/types/api/connector_mapping.rs b/crates/router/src/types/api/connector_mapping.rsindex 1e89239448..9f88cb3fbd 100644--- a/crates/router/src/types/api/connector_mapping.rs+++ b/crates/router/src/types/api/connector_mapping.rs@@ -364,6 +364,9 @@ impl ConnectorData {enums::Connector::Shift4 => {Ok(ConnectorEnum::Old(Box::new(connector::Shift4::new())))}+ enums::Connector::Silverflow => {+ Ok(ConnectorEnum::Old(Box::new(connector::Silverflow::new())))+ }enums::Connector::Square => Ok(ConnectorEnum::Old(Box::new(&connector::Square))),enums::Connector::Stax => Ok(ConnectorEnum::Old(Box::new(&connector::Stax))),enums::Connector::Stripe => {diff --git a/crates/router/src/types/connector_transformers.rs b/crates/router/src/types/connector_transformers.rsindex 6939247d48..e3e417535a 100644--- a/crates/router/src/types/connector_transformers.rs+++ b/crates/router/src/types/connector_transformers.rs@@ -120,6 +120,7 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {api_enums::Connector::Redsys => Self::Redsys,api_enums::Connector::Santander => Self::Santander,api_enums::Connector::Shift4 => Self::Shift4,+ api_enums::Connector::Silverflow => Self::Silverflow,api_enums::Connector::Signifyd => {Err(common_utils::errors::ValidationError::InvalidValue {message: "signifyd is not a routable connector".to_string(),diff --git a/cypress-tests/cypress/e2e/configs/Payment/Silverflow.js b/cypress-tests/cypress/e2e/configs/Payment/Silverflow.jsnew file mode 100644index 0000000000..3931ee5401--- /dev/null+++ b/cypress-tests/cypress/e2e/configs/Payment/Silverflow.js@@ -0,0 +1,1083 @@+import { cardRequiredField, customerAcceptance } from "./Commons";+import { getCustomExchange } from "./Modifiers";++// ============================================================================+// SILVERFLOW CYPRESS TEST CONFIGURATION+// ============================================================================+// Core functionality based on Silverflow API specification:+// - Non-3DS card payments (auto/manual capture)+// - Refund operations (full/partial/sync)+// - Void operations+// - Basic failure scenarios+// - Card tokenization+// ============================================================================++// ===== TEST CARD DATA =====++const successfulNo3DSCardDetails = {+ card_number: "4111111111111111", // Visa test card+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ card_cvc: "123",+};++const successfulAmexCardDetails = {+ card_number: "378282246310005", // American Express test card+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ card_cvc: "1234",+};++const failedCardDetails = {+ card_number: "4000000000000002", // Generic declined card+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ card_cvc: "123",+};++// ===== BILLING INFORMATION =====++const billingAddress = {+ address: {+ line1: "1467 Harrison Street",+ line2: "Apt 12",+ city: "San Francisco",+ state: "California",+ zip: "94122",+ country: "US",+ first_name: "Test",+ last_name: "User",+ },+ phone: {+ number: "4155551234",+ country_code: "+1",+ },+};++// ===== PAYMENT METHOD DATA =====++const payment_method_data_visa = {+ card: {+ last4: "1111",+ card_type: "CREDIT",+ card_network: "Visa",+ card_issuer: "JP Morgan",+ card_issuing_country: "INDIA",+ card_isin: "411111",+ card_extended_bin: null,+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ payment_checks: null,+ authentication_data: null,+ },+ billing: null,+};++const payment_method_data_amex = {+ card: {+ last4: "0005",+ card_type: "CREDIT",+ card_network: "AmericanExpress",+ card_issuer: null,+ card_issuing_country: null,+ card_isin: "378282",+ card_extended_bin: null,+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ payment_checks: null,+ authentication_data: null,+ },+ billing: null,+};++const payment_method_data_failed = {+ card: {+ last4: "0002",+ card_type: "CREDIT",+ card_network: "Visa",+ card_issuer: "INTL HDQTRS-CENTER OWNED",+ card_issuing_country: "UNITEDSTATES",+ card_isin: "400000",+ card_extended_bin: null,+ card_exp_month: "12",+ card_exp_year: "30",+ card_holder_name: "Test User",+ payment_checks: null,+ authentication_data: null,+ },+ billing: null,+};++// ===== REQUIRED FIELDS =====++const requiredFields = {+ payment_methods: [+ {+ payment_method: "card",+ payment_method_types: [+ {+ payment_method_type: "credit",+ card_networks: [+ {+ eligible_connectors: ["silverflow"],+ },+ ],+ required_fields: cardRequiredField,+ },+ {+ payment_method_type: "debit",+ card_networks: [+ {+ eligible_connectors: ["silverflow"],+ },+ ],+ required_fields: cardRequiredField,+ },+ ],+ },+ ],+};++// ===== MAIN CONNECTOR DETAILS =====++export const connectorDetails = {+ card_pm: {+ // Basic payment intent+ PaymentIntent: {+ Request: {+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: null,+ },+ Response: {+ status: 200,+ body: {+ status: "requires_payment_method",+ setup_future_usage: null,+ },+ },+ },++ // Successful automatic capture+ No3DSAutoCapture: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ billing: billingAddress,+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: null,+ capture_method: "automatic",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 1,+ payment_method_data: payment_method_data_visa,+ },+ },+ },++ // Successful manual capture (requires capture)+ No3DSManualCapture: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ billing: billingAddress,+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: null,+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_capture",+ payment_method: "card",+ attempt_count: 1,+ payment_method_data: payment_method_data_visa,+ },+ },+ },++ // Failed payment+ No3DSFailPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: failedCardDetails,+ },+ billing: billingAddress,+ customer_acceptance: null,+ setup_future_usage: null,+ },+ Response: {+ status: 200,+ body: {+ status: "failed",+ error_code: null,+ error_message: null,+ payment_method: "card",+ attempt_count: 1,+ payment_method_data: payment_method_data_failed,+ },+ },+ },++ // Capture operation+ Capture: {+ Request: {+ amount_to_capture: 6000,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ amount: 6000,+ amount_capturable: 0,+ amount_received: 6000,+ },+ },+ },++ // Partial capture+ PartialCapture: {+ Request: {+ amount_to_capture: 3000,+ },+ Response: {+ status: 200,+ body: {+ status: "partially_captured",+ amount: 6000,+ amount_capturable: 0,+ amount_received: 3000,+ },+ },+ },++ // Void payment (cancel authorized payment)+ Void: {+ Request: {+ cancellation_reason: "requested_by_customer",+ },+ Response: {+ status: 200,+ body: {+ status: "cancelled",+ payment_method: null,+ attempt_count: 1,+ },+ },+ },++ // Full refund+ Refund: {+ Request: {+ amount: 6000,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },++ // Partial refund+ PartialRefund: {+ Request: {+ amount: 2000,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },++ // Refund sync+ SyncRefund: {+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },++ // Manual payment refund+ manualPaymentRefund: {+ Request: {+ amount: 6000,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },++ // Manual payment partial refund+ manualPaymentPartialRefund: {+ Request: {+ amount: 3000,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },++ // Payment sync+ SyncPayment: {+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ payment_method_data: payment_method_data_visa,+ },+ },+ },++ // Payment with shipping cost+ PaymentIntentWithShippingCost: {+ Request: {+ currency: "USD",+ shipping_cost: 50,+ },+ Response: {+ status: 200,+ body: {+ status: "requires_payment_method",+ shipping_cost: 50,+ amount: 6000,+ },+ },+ },++ PaymentConfirmWithShippingCost: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ billing: billingAddress,+ customer_acceptance: null,+ setup_future_usage: null,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ payment_method_data: payment_method_data_visa,+ shipping_cost: 50,+ amount_received: 6050,+ amount: 6000,+ net_amount: 6050,+ },+ },+ },++ // American Express card test+ AmexCardPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulAmexCardDetails,+ },+ billing: billingAddress,+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: null,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 1,+ payment_method_data: payment_method_data_amex,+ },+ },+ },++ // ===== UNSUPPORTED FEATURES (MARKED AS TRIGGER_SKIP) =====+ // Silverflow doesn't support 3DS, mandates, save card, etc.=++ MandateSingleUseNo3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Mandates not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ single_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ },+ Response: {+ status: 400,+ body: {},+ },+ }),++ MandateSingleUseNo3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Mandates not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ single_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ capture_method: "manual",+ },+ Response: {+ status: 400,+ body: {},+ },+ }),++ MandateMultiUseNo3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Mandates not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ multi_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ },+ Response: {+ status: 400,+ body: {},+ },+ }),++ MandateMultiUseNo3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Mandates not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ multi_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ capture_method: "manual",+ },+ Response: {+ status: 400,+ body: {},+ },+ }),++ SaveCardUseNo3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support save card+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ setup_future_usage: "on_session",+ customer_acceptance: customerAcceptance,+ },+ Response: {+ status: 400,+ body: {+ status: "succeeded",+ },+ },+ }),++ SaveCardUseNo3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support save card+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ setup_future_usage: "on_session",+ customer_acceptance: customerAcceptance,+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_capture",+ },+ },+ }),++ // ===== 3DS SAVE CARD SCENARIOS =====+ // Note: Silverflow doesn't support 3DS or save card, marked as TRIGGER_SKIP++ SaveCardUse3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS and save card not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ setup_future_usage: "on_session",+ customer_acceptance: customerAcceptance,+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ SaveCardUse3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS and save card not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ setup_future_usage: "on_session",+ customer_acceptance: customerAcceptance,+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ // ===== OFF-SESSION SAVE CARD SCENARIOS =====+ // Note: Silverflow doesn't support off-session or save card, marked as TRIGGER_SKIP++ SaveCardUseNo3DSAutoCaptureOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support off-session save card+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ setup_future_usage: "off_session",+ customer_acceptance: customerAcceptance,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ }),++ SaveCardUse3DSAutoCaptureOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS and off-session save card not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ setup_future_usage: "off_session",+ customer_acceptance: customerAcceptance,+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ SaveCardUseNo3DSManualCaptureOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support off-session save card+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ setup_future_usage: "off_session",+ customer_acceptance: customerAcceptance,+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_capture",+ },+ },+ }),++ SaveCardConfirmAutoCaptureOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support off-session save card+ },+ Request: {+ setup_future_usage: "off_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ }),++ SaveCardConfirmManualCaptureOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support off-session save card+ },+ Request: {+ setup_future_usage: "off_session",+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_capture",+ },+ },+ }),++ SaveCardConfirmAutoCaptureOffSessionWithoutBilling: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support off-session save card+ },+ Request: {+ setup_future_usage: "off_session",+ billing: null,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ billing: null,+ },+ },+ }),++ ZeroAuthPaymentIntent: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Zero auth not supported+ },+ Request: {+ amount: 0,+ setup_future_usage: "off_session",+ currency: "USD",+ payment_type: "setup_mandate",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_payment_method",+ },+ },+ }),++ ZeroAuthConfirmPayment: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Zero auth not supported+ },+ Request: {+ payment_type: "setup_mandate",+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ },+ Response: {+ status: 400,+ body: {+ error: {+ type: "invalid_request_error",+ code: "feature_not_supported",+ message: "Zero auth is not supported",+ },+ },+ },+ }),++ ZeroAuthMandate: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Zero auth not supported+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ single_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ },+ Response: {+ status: 400,+ body: {},+ },+ }),++ MITAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support MIT+ },+ Request: {},+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ }),++ MITWithoutBillingAddress: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support MIT+ },+ Request: {+ billing: null,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ }),++ // ===== 3DS MANDATE SCENARIOS =====+ // Note: Silverflow doesn't support 3DS or mandates, marked as TRIGGER_SKIP++ MandateSingleUse3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ single_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ MandateSingleUse3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ single_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ MandateMultiUse3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ multi_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ MandateMultiUse3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip - 3DS not implemented+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: {+ customer_acceptance: customerAcceptance,+ mandate_type: {+ multi_use: {+ amount: 8000,+ currency: "USD",+ },+ },+ },+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action",+ },+ },+ }),++ // ===== PAYMENT METHOD SCENARIOS =====+ // Note: These may not be supported by Silverflow, marked as TRIGGER_SKIP++ PaymentMethodIdMandateNo3DSAutoCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support payment method ID mandates+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: null,+ customer_acceptance: customerAcceptance,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ }),++ PaymentMethodIdMandateNo3DSManualCapture: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Skip if Silverflow doesn't support payment method ID mandates+ },+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ mandate_data: null,+ customer_acceptance: customerAcceptance,+ capture_method: "manual",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_capture",+ },+ },+ }),++ // ===== VOID SCENARIOS =====+ // Note: Adding void scenarios to match Authipay++ VoidPaymentFailure: {+ Request: {+ cancellation_reason: "merchant_request",+ },+ Response: {+ status: 400,+ body: {+ error: {+ type: "invalid_request_error",+ code: "processing_error",+ message:+ "You cannot cancel this PaymentIntent because it has a status of succeeded.",+ },+ },+ },+ },++ VoidAfterConfirm: {+ Request: {+ cancellation_reason: "customer_request",+ },+ Response: {+ status: 200,+ body: {+ status: "cancelled",+ payment_method: "card",+ attempt_count: 1,+ },+ },+ },++ PaymentIntentOffSession: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Off-session not supported+ },+ Request: {+ currency: "USD",+ setup_future_usage: "off_session",+ },+ Response: {+ status: 200,+ body: {},+ },+ }),++ SessionToken: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Session tokens not supported+ },+ Response: {+ status: 200,+ body: {+ session_token: [],+ },+ },+ }),++ PaymentMethod: getCustomExchange({+ Configs: {+ TRIGGER_SKIP: true, // Payment method creation not supported+ },+ Request: {+ payment_method: "card",+ payment_method_type: "credit",+ card: successfulNo3DSCardDetails,+ },+ Response: {+ status: 400,+ body: {+ error: {+ type: "invalid_request_error",+ code: "feature_not_supported",+ message: "Payment method creation is not supported",+ },+ },+ },+ }),+ },++ pm_list: {+ PmListResponse: {+ PmListNull: {+ payment_methods: [],+ },+ pmListDynamicFieldWithoutBilling: requiredFields,+ pmListDynamicFieldWithBilling: requiredFields,+ pmListDynamicFieldWithNames: requiredFields,+ pmListDynamicFieldWithEmail: requiredFields,+ },+ },+};diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.jsindex f16fa38580..421ce3a02e 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js@@ -47,6 +47,7 @@ import { connectorDetails as payuConnectorDetails } from "./Payu.js";import { connectorDetails as powertranzConnectorDetails } from "./PowerTranz.js";import { connectorDetails as redsysConnectorDetails } from "./Redsys.js";import { connectorDetails as shift4ConnectorDetails } from "./Shift4.js";+import { connectorDetails as silverflowConnectorDetails } from "./Silverflow.js";import { connectorDetails as squareConnectorDetails } from "./Square.js";import { connectorDetails as staxConnectorDetails } from "./Stax.js";import { connectorDetails as stripeConnectorDetails } from "./Stripe.js";@@ -104,6 +105,7 @@ const connectorDetails = {powertranz: powertranzConnectorDetails,redsys: redsysConnectorDetails,shift4: shift4ConnectorDetails,+ silverflow: silverflowConnectorDetails,square: squareConnectorDetails,stax: staxConnectorDetails,stripe: stripeConnectorDetails,diff --git a/cypress-tests/cypress/e2e/configs/mock-server/Silverflow.js b/cypress-tests/cypress/e2e/configs/mock-server/Silverflow.jsnew file mode 100644index 0000000000..5fe6ef19b4--- /dev/null+++ b/cypress-tests/cypress/e2e/configs/mock-server/Silverflow.js@@ -0,0 +1,665 @@+/* eslint-disable no-console */+import express from "express";+import cors from "cors";++const app = express();+const PORT = process.env.PORT || 3010;++// Middleware+app.use(cors());+app.use(express.json());+app.use(express.urlencoded({ extended: true }));++// Mock data storage+const mockData = {+ charges: {},+ processorTokens: {},+};++// Mock API credentials+const validCredentials = {+ "apk-1wtRxni5IsPsSpBLWpwr": "FWtnOOHAjbD6rNxWWEeVOCj7JXSEPGJQ",+ "apk-testkey123": "testsecret456",+ "api-silverflow": "depends_on_mockserver",+};++// Helper functions+function generateId(prefix) {+ return `${prefix}-${Math.random().toString(36).substr(2, 16)}`;+}++function generateAuthCode() {+ return Math.floor(100000 + Math.random() * 900000).toString();+}++function getCurrentTimestamp() {+ return new Date().toISOString();+}++// Authentication middleware+function authenticateBasic(req, res, next) {+ const authHeader = req.headers.authorization;++ if (!authHeader || !authHeader.startsWith("Basic ")) {+ return res.status(401).json({+ error: {+ code: "AUTHENTICATION_REQUIRED",+ message: "Missing or invalid Authorization header",+ },+ });+ }++ try {+ const base64Credentials = authHeader.split(" ")[1];+ const credentials = Buffer.from(base64Credentials, "base64").toString(+ "ascii"+ );+ const [apiKey, apiSecret] = credentials.split(":");++ if (!validCredentials[apiKey] || validCredentials[apiKey] !== apiSecret) {+ return res.status(401).json({+ error: {+ code: "INVALID_CREDENTIALS",+ message: "Invalid API key or secret",+ },+ });+ }++ req.apiKey = apiKey;+ next();+ } catch (error) {+ return res.status(401).json({+ error: {+ code: "AUTHENTICATION_ERROR",+ message: `Invalid authorization format: ${error}`,+ },+ });+ }+}++// Logging middleware+app.use((req, res, next) => {+ console.log(`${new Date().toISOString()} - ${req.method} ${req.path}`);+ console.log("Headers:", JSON.stringify(req.headers, null, 2));+ if (req.body && Object.keys(req.body).length > 0) {+ console.log("Body:", JSON.stringify(req.body, null, 2));+ }+ next();+});++// Health check endpoint+app.get("/health", (req, res) => {+ res.json({ status: "OK", timestamp: getCurrentTimestamp() });+});++// 1. POST /charges - Create payment authorization+app.post("/charges", authenticateBasic, (req, res) => {+ try {+ const { merchantAcceptorResolver, card, amount, type, clearingMode } =+ req.body;++ // Basic validation+ if (!merchantAcceptorResolver || !card || !amount || !type) {+ return res.status(400).json({+ error: {+ code: "BAD_REQUEST",+ message:+ "Missing required fields: merchantAcceptorResolver, card, amount, type",+ },+ });+ }++ // Check for fail card - reject payment if fail card is used+ const failCard = "4000000000000002";+ if (card.number === failCard) {+ const chargeKey = generateId("chg");+ const now = getCurrentTimestamp();++ const failedCharge = {+ key: chargeKey,+ merchantAcceptorRef: {+ key: generateId("mac"),+ version: 1,+ },+ card: {+ maskedNumber: `${card.number.substring(0, 6)}****${card.number.substring(card.number.length - 4)}`,+ },+ amount,+ type,+ clearingMode: clearingMode || "auto",+ status: {+ authentication: "none",+ authorization: "declined",+ clearing: "failed",+ },+ authentication: {+ sca: {+ compliance: "out-of-scope",+ complianceReason: "moto",+ method: "none",+ },+ cvc: "match",+ avs: "none",+ },+ localTransactionDateTime: now,+ fraudLiability: "acquirer",+ authorizationIsoFields: {+ responseCode: "05",+ responseCodeDescription: "Do not honor",+ authorizationCode: "",+ networkCode: "0005",+ systemTraceAuditNumber: Math.floor(+ 100000 + Math.random() * 900000+ ).toString(),+ retrievalReferenceNumber: Math.floor(+ 100000000000 + Math.random() * 900000000000+ ).toString(),+ eci: "01",+ networkSpecificFields: {+ transactionIdentifier: Math.floor(+ 100000000000000 + Math.random() * 900000000000000+ ).toString(),+ cvv2ResultCode: "M",+ },+ },+ created: now,+ version: 1,+ actions: [],+ };++ mockData.charges[chargeKey] = failedCharge;++ return res.status(201).json(failedCharge);+ }++ // Idempotency key is accepted but not enforced in mock server++ const chargeKey = generateId("chg");+ const authCode = generateAuthCode();++ const now = getCurrentTimestamp();+ const charge = {+ key: chargeKey,+ merchantAcceptorRef: {+ key: generateId("mac"),+ version: 1,+ },+ card: {+ maskedNumber: `${card.number.substring(0, 6)}****${card.number.substring(card.number.length - 4)}`,+ },+ amount,+ type,+ clearingMode: clearingMode || "auto",+ status: {+ authentication: "none",+ authorization: "approved",+ clearing: clearingMode === "manual" ? "pending" : "cleared",+ },+ authentication: {+ sca: {+ compliance: "out-of-scope",+ complianceReason: "moto",+ method: "none",+ },+ cvc: "match",+ avs: "none",+ },+ localTransactionDateTime: now,+ fraudLiability: "acquirer",+ authorizationIsoFields: {+ responseCode: "00",+ responseCodeDescription: "Approved",+ authorizationCode: authCode,+ networkCode: "0000",+ systemTraceAuditNumber: Math.floor(+ 100000 + Math.random() * 900000+ ).toString(),+ retrievalReferenceNumber: Math.floor(+ 100000000000 + Math.random() * 900000000000+ ).toString(),+ eci: "01",+ networkSpecificFields: {+ transactionIdentifier: Math.floor(+ 100000000000000 + Math.random() * 900000000000000+ ).toString(),+ cvv2ResultCode: "M",+ },+ },+ created: now,+ version: 1,+ actions: [],+ };++ mockData.charges[chargeKey] = charge;++ res.status(201).json(charge);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// 2. POST /charges/:chargeKey/clear - Manually clear charge+app.post("/charges/:chargeKey/clear", authenticateBasic, (req, res) => {+ try {+ const { chargeKey } = req.params;+ const { amount, closeCharge, clearAfter, reference } = req.body;++ const charge = mockData.charges[chargeKey];+ if (!charge) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Charge not found",+ },+ });+ }++ // Validate amount if provided+ if (+ amount &&+ (typeof amount !== "number" || amount < 1 || amount > 999999999999)+ ) {+ return res.status(400).json({+ error: {+ code: "BAD_REQUEST",+ message: "Invalid amount: must be integer between 1 and 999999999999",+ },+ });+ }++ // Determine clearing amount - if not provided, use full charge amount+ const clearingAmount = amount || charge.amount.value;++ // Check if charge is too old (6 months) - mock validation+ const chargeDate = new Date(charge.created);+ const sixMonthsAgo = new Date();+ sixMonthsAgo.setMonth(sixMonthsAgo.getMonth() - 6);++ if (chargeDate < sixMonthsAgo) {+ return res.status(409).json({+ error: {+ code: "CONFLICT",+ message: "Charge is too old to be manually cleared",+ details: {+ field: "charge",+ issue: "too-old",+ },+ },+ });+ }++ const actionKey = generateId("act");+ const clearAction = {+ type: "clearing",+ key: actionKey,+ chargeKey,+ status: "completed",+ reference,+ amount: {+ value: clearingAmount,+ currency: charge.amount.currency,+ },+ closeCharge: closeCharge || false,+ clearAfter: clearAfter || null,+ created: getCurrentTimestamp(),+ lastModified: getCurrentTimestamp(),+ version: 1,+ };++ // Update charge status if fully cleared or closeCharge is true+ if (closeCharge || clearingAmount >= charge.amount.value) {+ charge.status.clearing = "cleared";+ } else {+ charge.status.clearing = "partially_cleared";+ }++ charge.actions.push(clearAction);+ charge.version += 1;++ res.status(201).json(clearAction);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// 3. POST /charges/:chargeKey/refund - Process refunds+app.post("/charges/:chargeKey/refund", authenticateBasic, (req, res) => {+ try {+ const { chargeKey } = req.params;+ const { refundAmount, reference, clearAfter, dynamicDescriptor } = req.body;++ const charge = mockData.charges[chargeKey];+ if (!charge) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Charge not found",+ },+ });+ }++ // If refundAmount not provided, refund the full charge amount+ const refundAmountValue = refundAmount || charge.amount.value;++ // Validate refundAmount if provided+ if (+ refundAmount &&+ (typeof refundAmount !== "number" ||+ refundAmount < 1 ||+ refundAmount > 999999999999)+ ) {+ return res.status(400).json({+ error: {+ code: "BAD_REQUEST",+ message:+ "Invalid refundAmount: must be integer between 1 and 999999999999",+ },+ });+ }++ const actionKey = generateId("act");++ // Mock network response+ const networks = ["visa", "mastercard", "american-express", "discover"];+ const network = networks[Math.floor(Math.random() * networks.length)];++ const refundAction = {+ type: "refund",+ key: actionKey,+ chargeKey,+ reference,+ amount: {+ value: refundAmountValue,+ currency: charge.amount.currency,+ },+ status: "success",+ clearAfter: clearAfter || null,+ authorizationResponse: {+ network,+ responseCode: "00",+ responseCodeDescription: "Approved",+ },+ dynamicDescriptor: dynamicDescriptor || null,+ created: getCurrentTimestamp(),+ lastModified: getCurrentTimestamp(),+ version: 1,+ };++ charge.actions.push(refundAction);+ charge.version += 1;++ res.status(201).json(refundAction);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// 4. POST /charges/:chargeKey/reverse - Reverse charge (void)+app.post("/charges/:chargeKey/reverse", authenticateBasic, (req, res) => {+ try {+ const { chargeKey } = req.params;+ const { replacementAmount = 0, reference } = req.body;++ const charge = mockData.charges[chargeKey];+ if (!charge) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Charge not found",+ },+ });+ }++ // Validate replacementAmount if provided+ if (+ replacementAmount &&+ (typeof replacementAmount !== "number" ||+ replacementAmount < 0 ||+ replacementAmount > 999999999999)+ ) {+ return res.status(400).json({+ error: {+ code: "BAD_REQUEST",+ message:+ "Invalid replacementAmount: must be integer between 0 and 999999999999",+ },+ });+ }++ const actionKey = generateId("act");++ // Mock network response+ const networks = ["visa", "mastercard", "american-express", "discover"];+ const network = networks[Math.floor(Math.random() * networks.length)];++ const reversalAction = {+ type: "reversal",+ key: actionKey,+ chargeKey,+ reference,+ replacementAmount: {+ value: replacementAmount,+ currency: charge.amount.currency,+ },+ status: {+ authorization: "approved",+ },+ authorizationResponse: {+ network,+ responseCode: "00",+ responseCodeDescription: "Approved",+ },+ created: getCurrentTimestamp(),+ lastModified: getCurrentTimestamp(),+ version: 1,+ };++ // Update charge status based on replacement amount+ if (replacementAmount === 0) {+ charge.status.authorization = "reversed";+ } else {+ charge.status.authorization = "partially_reversed";+ charge.amount.value = replacementAmount; // Update to replacement amount+ }++ charge.actions.push(reversalAction);+ charge.version += 1;++ res.status(201).json(reversalAction);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// 5. GET /charges/:chargeKey - Get charge status (sync)+app.get("/charges/:chargeKey", authenticateBasic, (req, res) => {+ try {+ const { chargeKey } = req.params;++ const charge = mockData.charges[chargeKey];+ if (!charge) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Charge not found",+ },+ });+ }++ res.json(charge);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// 5a. GET /charges/:chargeKey/actions/:actionKey - Get action status (refund sync)+app.get(+ "/charges/:chargeKey/actions/:actionKey",+ authenticateBasic,+ (req, res) => {+ try {+ const { chargeKey, actionKey } = req.params;++ const charge = mockData.charges[chargeKey];+ if (!charge) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Charge not found",+ },+ });+ }++ const action = charge.actions.find((a) => a.key === actionKey);+ if (!action) {+ return res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: "Action not found",+ },+ });+ }++ res.json(action);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+ }+);++// 6. POST /processorTokens - Create processor tokens for vaulting+app.post("/processorTokens", authenticateBasic, (req, res) => {+ try {+ const { reference, cardData } = req.body;++ if (!cardData || !cardData.number) {+ return res.status(400).json({+ error: {+ code: "BAD_REQUEST",+ message: "Missing cardData or number",+ },+ });+ }++ const processorTokenKey = generateId("ptk");+ const cardNumber = cardData.number.toString();++ // Determine card network based on first digits+ let network = "unknown";+ if (cardNumber.startsWith("4")) network = "visa";+ else if (cardNumber.startsWith("5") || cardNumber.startsWith("2"))+ network = "mastercard";+ else if (cardNumber.startsWith("3")) network = "amex";+ else if (cardNumber.startsWith("6")) network = "discover";++ const processorToken = {+ key: processorTokenKey,+ agentKey: generateId("agt"),+ last4: cardNumber.substring(cardNumber.length - 4),+ status: "active",+ reference,+ cardInfo: [+ {+ infoSource: "card",+ network,+ primaryNetwork: true,+ },+ ],+ created: getCurrentTimestamp(),+ cvcPresent: !!cardData.cvc,+ version: 1,+ };++ mockData.processorTokens[processorTokenKey] = processorToken;++ res.status(201).json(processorToken);+ } catch (error) {+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: error.message,+ },+ });+ }+});++// Error handling middleware+// eslint-disable-next-line no-unused-vars+app.use((err, req, res, next) => {+ console.error("Error:", err);+ res.status(500).json({+ error: {+ code: "INTERNAL_SERVER_ERROR",+ message: "An unexpected error occurred",+ },+ });+});++// 404 handler+app.use((req, res) => {+ res.status(404).json({+ error: {+ code: "NOT_FOUND",+ message: `Endpoint ${req.method} ${req.originalUrl} not found`,+ },+ });+});++// Start server+app.listen(PORT, () => {+ console.log(`🚀 Silverflow Mock Server running on port ${PORT}`);+ console.log(`📍 Server URL: http://localhost:${PORT}`);+ console.log("\n📋 Available Endpoints:");+ console.log(" GET /health - Health check");+ console.log(" POST /charges - Create payment authorization");+ console.log(" POST /charges/{chargeKey}/clear - Manually clear charges");+ console.log(" POST /charges/{chargeKey}/refund - Process refunds");+ console.log(" POST /charges/{chargeKey}/reverse - Reverse charge (void)");+ console.log(" GET /charges/{chargeKey} - Get charge status");+ console.log(+ " GET /charges/{chargeKey}/actions/{actionKey} - Get action status"+ );+ console.log(" POST /processorTokens - Create processor tokens");+ console.log("\n🔐 Authentication (SignatureKey format):");+ console.log(" auth_type: SignatureKey");+ console.log(" api_key: apk-testkey123");+ console.log(" key1: testsecret456 (merchant_acceptor_key)");+ console.log(" api_secret: testsecret456");+ console.log("\n📖 Use Basic Auth with base64 encoded api_key:api_secret");+ console.log(+ " Example: Authorization: Basic <base64(apk-testkey123:testsecret456)>"+ );+ console.log("\n💡 Note: Silverflow depends on mockserver");+});++export default app;diff --git a/cypress-tests/package-lock.json b/cypress-tests/package-lock.jsonindex 41d03a097a..7f36d9c563 100644--- a/cypress-tests/package-lock.json+++ b/cypress-tests/package-lock.json@@ -8,11 +8,15 @@"name": "test","version": "1.0.0","license": "ISC",+ "dependencies": {+ "cors": "^2.8.5",+ "express": "^5.1.0"+ },"devDependencies": {- "@eslint/js": "^9.31.0",- "cypress": "^14.5.2",+ "@eslint/js": "^9.32.0",+ "cypress": "^14.5.3","cypress-mochawesome-reporter": "^4.0.0",- "eslint": "^9.31.0",+ "eslint": "^9.32.0","eslint-config-prettier": "^10.1.8","eslint-plugin-cypress": "^5.1.0","eslint-plugin-prettier": "^5.5.3",@@ -22,9 +26,9 @@}},"node_modules/@cypress/request": {- "version": "3.0.8",- "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.8.tgz",- "integrity": "sha512-h0NFgh1mJmm1nr4jCwkGHwKneVYKghUyWe6TMNrk0B9zsjAJxpg8C4/+BAcmLgCPa1vj1V8rNUaILl+zYRUWBQ==",+ "version": "3.0.9",+ "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.9.tgz",+ "integrity": "sha512-I3l7FdGRXluAS44/0NguwWlO83J18p0vlr2FYHrJkWdNYhgVoiYo61IXPqaOsL+vNxU1ZqMACzItGK3/KKDsdw==","dev": true,"license": "Apache-2.0","dependencies": {@@ -34,7 +38,7 @@"combined-stream": "~1.0.6","extend": "~3.0.2","forever-agent": "~0.6.1",- "form-data": "~4.0.0",+ "form-data": "~4.0.4","http-signature": "~1.4.0","is-typedarray": "~1.0.0","isstream": "~0.1.2",@@ -140,9 +144,9 @@}},"node_modules/@eslint/core": {- "version": "0.14.0",- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz",- "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==",+ "version": "0.15.1",+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",+ "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==","dev": true,"license": "Apache-2.0","dependencies": {@@ -190,9 +194,9 @@}},"node_modules/@eslint/js": {- "version": "9.31.0",- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.31.0.tgz",- "integrity": "sha512-LOm5OVt7D4qiKCqoiPbA7LWmI+tbw1VbTUowBcUMgQSuM6poJufkFkYDcQpo5KfgD39TnNySV26QjOh7VFpSyw==",+ "version": "9.32.0",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz",+ "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==","dev": true,"license": "MIT","engines": {@@ -213,13 +217,13 @@}},"node_modules/@eslint/plugin-kit": {- "version": "0.3.1",- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.1.tgz",- "integrity": "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==",+ "version": "0.3.4",+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz",+ "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/core": "^0.14.0",+ "@eslint/core": "^0.15.1","levn": "^0.4.1"},"engines": {@@ -481,6 +485,40 @@"@types/node": "*"}},+ "node_modules/accepts": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",+ "license": "MIT",+ "dependencies": {+ "mime-types": "^3.0.0",+ "negotiator": "^1.0.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/accepts/node_modules/mime-db": {+ "version": "1.54.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/accepts/node_modules/mime-types": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "^1.54.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/acorn": {"version": "8.15.0","resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",@@ -767,6 +805,26 @@"dev": true,"license": "MIT"},+ "node_modules/body-parser": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",+ "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",+ "license": "MIT",+ "dependencies": {+ "bytes": "^3.1.2",+ "content-type": "^1.0.5",+ "debug": "^4.4.0",+ "http-errors": "^2.0.0",+ "iconv-lite": "^0.6.3",+ "on-finished": "^2.4.1",+ "qs": "^6.14.0",+ "raw-body": "^3.0.0",+ "type-is": "^2.0.0"+ },+ "engines": {+ "node": ">=18"+ }+ },"node_modules/brace-expansion": {"version": "1.1.11","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",@@ -835,6 +893,15 @@"node": "*"}},+ "node_modules/bytes": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/cachedir": {"version": "2.4.0","resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz",@@ -849,7 +916,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz","integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -863,7 +929,6 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz","integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",- "dev": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.2",@@ -1150,6 +1215,45 @@"dev": true,"license": "MIT"},+ "node_modules/content-disposition": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",+ "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "5.2.1"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/content-type": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/cookie": {+ "version": "0.7.2",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/cookie-signature": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",+ "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",+ "license": "MIT",+ "engines": {+ "node": ">=6.6.0"+ }+ },"node_modules/core-util-is": {"version": "1.0.2","resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",@@ -1157,6 +1261,19 @@"dev": true,"license": "MIT"},+ "node_modules/cors": {+ "version": "2.8.5",+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",+ "license": "MIT",+ "dependencies": {+ "object-assign": "^4",+ "vary": "^1"+ },+ "engines": {+ "node": ">= 0.10"+ }+ },"node_modules/cross-spawn": {"version": "7.0.6","resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",@@ -1173,14 +1290,14 @@}},"node_modules/cypress": {- "version": "14.5.2",- "resolved": "https://registry.npmjs.org/cypress/-/cypress-14.5.2.tgz",- "integrity": "sha512-O4E4CEBqDHLDrJD/dfStHPcM+8qFgVVZ89Li7xDU0yL/JxO/V0PEcfF2I8aGa7uA2MGNLkNUAnghPM83UcHOJw==",+ "version": "14.5.3",+ "resolved": "https://registry.npmjs.org/cypress/-/cypress-14.5.3.tgz",+ "integrity": "sha512-syLwKjDeMg77FRRx68bytLdlqHXDT4yBVh0/PPkcgesChYDjUZbwxLqMXuryYKzAyJsPsQHUDW1YU74/IYEUIA==","dev": true,"hasInstallScript": true,"license": "MIT","dependencies": {- "@cypress/request": "^3.0.8",+ "@cypress/request": "^3.0.9","@cypress/xvfb": "^1.2.4","@types/sinonjs__fake-timers": "8.1.1","@types/sizzle": "^2.3.2",@@ -1314,10 +1431,9 @@"license": "MIT"},"node_modules/debug": {- "version": "4.3.7",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",- "dev": true,+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",+ "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==","license": "MIT","dependencies": {"ms": "^2.1.3"@@ -1362,6 +1478,15 @@"node": ">=0.4.0"}},+ "node_modules/depd": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/diff": {"version": "5.2.0","resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",@@ -1376,7 +1501,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz","integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",- "dev": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.1",@@ -1405,6 +1529,12 @@"safer-buffer": "^2.1.0"}},+ "node_modules/ee-first": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",+ "license": "MIT"+ },"node_modules/emoji-regex": {"version": "8.0.0","resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",@@ -1412,6 +1542,15 @@"dev": true,"license": "MIT"},+ "node_modules/encodeurl": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/end-of-stream": {"version": "1.4.4","resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",@@ -1440,7 +1579,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz","integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -1450,7 +1588,6 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz","integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -1460,7 +1597,6 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz","integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0"@@ -1499,7 +1635,6 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz","integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",- "dev": true,"license": "MIT"},"node_modules/escape-string-regexp": {@@ -1516,9 +1651,9 @@}},"node_modules/eslint": {- "version": "9.31.0",- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.31.0.tgz",- "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==",+ "version": "9.32.0",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz",+ "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==","dev": true,"license": "MIT","dependencies": {@@ -1528,8 +1663,8 @@"@eslint/config-helpers": "^0.3.0","@eslint/core": "^0.15.0","@eslint/eslintrc": "^3.3.1",- "@eslint/js": "9.31.0",- "@eslint/plugin-kit": "^0.3.1",+ "@eslint/js": "9.32.0",+ "@eslint/plugin-kit": "^0.3.4","@humanfs/node": "^0.16.6","@humanwhocodes/module-importer": "^1.0.1","@humanwhocodes/retry": "^0.4.2",@@ -1666,19 +1801,6 @@"url": "https://opencollective.com/eslint"}},- "node_modules/eslint/node_modules/@eslint/core": {- "version": "0.15.1",- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",- "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@types/json-schema": "^7.0.15"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },"node_modules/espree": {"version": "10.4.0","resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",@@ -1743,6 +1865,15 @@"node": ">=0.10.0"}},+ "node_modules/etag": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/eventemitter2": {"version": "6.4.7","resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz",@@ -1787,6 +1918,69 @@"node": ">=4"}},+ "node_modules/express": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",+ "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",+ "license": "MIT",+ "dependencies": {+ "accepts": "^2.0.0",+ "body-parser": "^2.2.0",+ "content-disposition": "^1.0.0",+ "content-type": "^1.0.5",+ "cookie": "^0.7.1",+ "cookie-signature": "^1.2.1",+ "debug": "^4.4.0",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "etag": "^1.8.1",+ "finalhandler": "^2.1.0",+ "fresh": "^2.0.0",+ "http-errors": "^2.0.0",+ "merge-descriptors": "^2.0.0",+ "mime-types": "^3.0.0",+ "on-finished": "^2.4.1",+ "once": "^1.4.0",+ "parseurl": "^1.3.3",+ "proxy-addr": "^2.0.7",+ "qs": "^6.14.0",+ "range-parser": "^1.2.1",+ "router": "^2.2.0",+ "send": "^1.1.0",+ "serve-static": "^2.2.0",+ "statuses": "^2.0.1",+ "type-is": "^2.0.1",+ "vary": "^1.1.2"+ },+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/express/node_modules/mime-db": {+ "version": "1.54.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/express/node_modules/mime-types": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "^1.54.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/extend": {"version": "3.0.2","resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",@@ -1916,6 +2110,23 @@"node": ">=8"}},+ "node_modules/finalhandler": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",+ "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.4.0",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "on-finished": "^2.4.1",+ "parseurl": "^1.3.3",+ "statuses": "^2.0.1"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/find-up": {"version": "5.0.0","resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",@@ -2006,21 +2217,40 @@}},"node_modules/form-data": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz",- "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==",+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",+ "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==","dev": true,"license": "MIT","dependencies": {"asynckit": "^0.4.0","combined-stream": "^1.0.8","es-set-tostringtag": "^2.1.0",+ "hasown": "^2.0.2","mime-types": "^2.1.12"},"engines": {"node": ">= 6"}},+ "node_modules/forwarded": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/fresh": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/fs-extra": {"version": "9.1.0","resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",@@ -2045,22 +2275,6 @@"license": "ISC","peer": true},- "node_modules/fsevents": {- "version": "2.3.3",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",- "dev": true,- "hasInstallScript": true,- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "peer": true,- "engines": {- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"- }- },"node_modules/fsu": {"version": "1.1.1","resolved": "https://registry.npmjs.org/fsu/-/fsu-1.1.1.tgz",@@ -2072,7 +2286,6 @@"version": "1.1.2","resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz","integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",- "dev": true,"license": "MIT","funding": {"url": "https://github.com/sponsors/ljharb"@@ -2092,7 +2305,6 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz","integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",- "dev": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.2",@@ -2117,7 +2329,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz","integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",- "dev": true,"license": "MIT","dependencies": {"dunder-proto": "^1.0.1",@@ -2256,7 +2467,6 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz","integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -2286,7 +2496,6 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz","integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -2342,7 +2551,6 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz","integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",- "dev": true,"license": "MIT","dependencies": {"function-bind": "^1.1.2"@@ -2362,6 +2570,31 @@"he": "bin/he"}},+ "node_modules/http-errors": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",+ "license": "MIT",+ "dependencies": {+ "depd": "2.0.0",+ "inherits": "2.0.4",+ "setprototypeof": "1.2.0",+ "statuses": "2.0.1",+ "toidentifier": "1.0.1"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/http-errors/node_modules/statuses": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/http-signature": {"version": "1.4.0","resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.4.0.tgz",@@ -2387,6 +2620,18 @@"node": ">=8.12.0"}},+ "node_modules/iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "license": "MIT",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },"node_modules/ieee754": {"version": "1.2.1","resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",@@ -2472,9 +2717,7 @@"version": "2.0.4","resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",- "dev": true,- "license": "ISC",- "peer": true+ "license": "ISC"},"node_modules/ini": {"version": "2.0.0",@@ -2486,6 +2729,15 @@"node": ">=10"}},+ "node_modules/ipaddr.js": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.10"+ }+ },"node_modules/is-binary-path": {"version": "2.1.0","resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",@@ -2582,6 +2834,12 @@"node": ">=8"}},+ "node_modules/is-promise": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",+ "license": "MIT"+ },"node_modules/is-stream": {"version": "2.0.1","resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",@@ -2966,12 +3224,32 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz","integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"}},+ "node_modules/media-typer": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/merge-descriptors": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/merge-stream": {"version": "2.0.0","resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",@@ -3333,7 +3611,6 @@"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz","integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",- "dev": true,"license": "MIT"},"node_modules/natural-compare": {@@ -3343,6 +3620,15 @@"dev": true,"license": "MIT"},+ "node_modules/negotiator": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/normalize-path": {"version": "3.0.0","resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",@@ -3371,7 +3657,6 @@"version": "4.1.1","resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz","integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",- "dev": true,"license": "MIT","engines": {"node": ">=0.10.0"@@ -3381,7 +3666,6 @@"version": "1.13.4","resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz","integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",- "dev": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -3390,11 +3674,22 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/on-finished": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",+ "license": "MIT",+ "dependencies": {+ "ee-first": "1.1.1"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/once": {"version": "1.4.0","resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",- "dev": true,"license": "ISC","dependencies": {"wrappy": "1"@@ -3519,6 +3814,15 @@"node": ">=6"}},+ "node_modules/parseurl": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/path-exists": {"version": "4.0.0","resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",@@ -3556,6 +3860,15 @@"url": "https://github.com/sponsors/isaacs"}},+ "node_modules/path-to-regexp": {+ "version": "8.2.0",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz",+ "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==",+ "license": "MIT",+ "engines": {+ "node": ">=16"+ }+ },"node_modules/pend": {"version": "1.2.0","resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",@@ -3668,6 +3981,19 @@"react-is": "^16.13.1"}},+ "node_modules/proxy-addr": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",+ "license": "MIT",+ "dependencies": {+ "forwarded": "0.2.0",+ "ipaddr.js": "1.9.1"+ },+ "engines": {+ "node": ">= 0.10"+ }+ },"node_modules/proxy-from-env": {"version": "1.0.0","resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz",@@ -3700,7 +4026,6 @@"version": "6.14.0","resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz","integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",- "dev": true,"license": "BSD-3-Clause","dependencies": {"side-channel": "^1.1.0"@@ -3723,6 +4048,30 @@"safe-buffer": "^5.1.0"}},+ "node_modules/range-parser": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/raw-body": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz",+ "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==",+ "license": "MIT",+ "dependencies": {+ "bytes": "3.1.2",+ "http-errors": "2.0.0",+ "iconv-lite": "0.6.3",+ "unpipe": "1.0.0"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",@@ -3795,6 +4144,22 @@"dev": true,"license": "MIT"},+ "node_modules/router": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",+ "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.4.0",+ "depd": "^2.0.0",+ "is-promise": "^4.0.0",+ "parseurl": "^1.3.3",+ "path-to-regexp": "^8.0.0"+ },+ "engines": {+ "node": ">= 18"+ }+ },"node_modules/rxjs": {"version": "7.8.1","resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz",@@ -3809,7 +4174,6 @@"version": "5.2.1","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz","integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",- "dev": true,"funding": [{"type": "github",@@ -3830,7 +4194,6 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz","integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",- "dev": true,"license": "MIT"},"node_modules/semver": {@@ -3846,6 +4209,49 @@"node": ">=10"}},+ "node_modules/send": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",+ "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",+ "license": "MIT",+ "dependencies": {+ "debug": "^4.3.5",+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "etag": "^1.8.1",+ "fresh": "^2.0.0",+ "http-errors": "^2.0.0",+ "mime-types": "^3.0.1",+ "ms": "^2.1.3",+ "on-finished": "^2.4.1",+ "range-parser": "^1.2.1",+ "statuses": "^2.0.1"+ },+ "engines": {+ "node": ">= 18"+ }+ },+ "node_modules/send/node_modules/mime-db": {+ "version": "1.54.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/send/node_modules/mime-types": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "^1.54.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/serialize-javascript": {"version": "6.0.2","resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",@@ -3857,6 +4263,27 @@"randombytes": "^2.1.0"}},+ "node_modules/serve-static": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",+ "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",+ "license": "MIT",+ "dependencies": {+ "encodeurl": "^2.0.0",+ "escape-html": "^1.0.3",+ "parseurl": "^1.3.3",+ "send": "^1.2.0"+ },+ "engines": {+ "node": ">= 18"+ }+ },+ "node_modules/setprototypeof": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",+ "license": "ISC"+ },"node_modules/shebang-command": {"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",@@ -3884,7 +4311,6 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz","integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -3904,7 +4330,6 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz","integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",- "dev": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -3921,7 +4346,6 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz","integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",- "dev": true,"license": "MIT","dependencies": {"call-bound": "^1.0.2",@@ -3940,7 +4364,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz","integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",- "dev": true,"license": "MIT","dependencies": {"call-bound": "^1.0.2",@@ -4004,6 +4427,15 @@"node": ">=0.10.0"}},+ "node_modules/statuses": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/string-width": {"version": "4.2.3","resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",@@ -4152,22 +4584,22 @@"license": "MIT"},"node_modules/tldts": {- "version": "6.1.85",- "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.85.tgz",- "integrity": "sha512-gBdZ1RjCSevRPFix/hpaUWeak2/RNUZB4/8frF1r5uYMHjFptkiT0JXIebWvgI/0ZHXvxaUDDJshiA0j6GdL3w==",+ "version": "6.1.86",+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz",+ "integrity": "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==","dev": true,"license": "MIT","dependencies": {- "tldts-core": "^6.1.85"+ "tldts-core": "^6.1.86"},"bin": {"tldts": "bin/cli.js"}},"node_modules/tldts-core": {- "version": "6.1.85",- "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.85.tgz",- "integrity": "sha512-DTjUVvxckL1fIoPSb3KE7ISNtkWSawZdpfxGxwiIrZoO6EbHVDXXUIlIuWympPaeS+BLGyggozX/HTMsRAdsoA==",+ "version": "6.1.86",+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz",+ "integrity": "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==","dev": true,"license": "MIT"},@@ -4195,6 +4627,15 @@"node": ">=8.0"}},+ "node_modules/toidentifier": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",+ "license": "MIT",+ "engines": {+ "node": ">=0.6"+ }+ },"node_modules/tough-cookie": {"version": "5.1.2","resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz",@@ -4271,6 +4712,41 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/type-is": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",+ "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",+ "license": "MIT",+ "dependencies": {+ "content-type": "^1.0.5",+ "media-typer": "^1.1.0",+ "mime-types": "^3.0.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/type-is/node_modules/mime-db": {+ "version": "1.54.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/type-is/node_modules/mime-types": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "^1.54.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },"node_modules/undici-types": {"version": "6.20.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",@@ -4289,6 +4765,15 @@"node": ">= 10.0.0"}},+ "node_modules/unpipe": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/untildify": {"version": "4.0.0","resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",@@ -4329,6 +4814,15 @@"node": ">= 0.10"}},+ "node_modules/vary": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/verror": {"version": "1.10.0","resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",@@ -4419,7 +4913,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",- "dev": true,"license": "ISC"},"node_modules/y18n": {diff --git a/cypress-tests/package.json b/cypress-tests/package.jsonindex bba9cc145a..30d707169e 100644--- a/cypress-tests/package.json+++ b/cypress-tests/package.json@@ -25,11 +25,15 @@},"author": "Hyperswitch","license": "ISC",+ "dependencies": {+ "express": "^5.1.0",+ "cors": "^2.8.5"+ },"devDependencies": {- "@eslint/js": "^9.31.0",- "cypress": "^14.5.2",+ "@eslint/js": "^9.32.0",+ "cypress": "^14.5.3","cypress-mochawesome-reporter": "^4.0.0",- "eslint": "^9.31.0",+ "eslint": "^9.32.0","eslint-config-prettier": "^10.1.8","eslint-plugin-cypress": "^5.1.0","eslint-plugin-prettier": "^5.5.3",