Skip to content

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

feat(cypress-v2): add cypress v2 core flow tests (#5791)

Pa1NarK82574c0e8e7e
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 88bf8b28ab..e66da85d6c 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -25,6 +25,7 @@ Cargo.lock @juspay/hyperswitch-framework
postman/ @juspay/hyperswitch-qa
cypress-tests/ @juspay/hyperswitch-qa
+cypress-tests-v2/ @juspay/hyperswitch-qa
crates/api_models/src/events/ @juspay/hyperswitch-analytics
crates/api_models/src/events.rs @juspay/hyperswitch-analytics
diff --git a/cypress-tests-v2/.gitignore b/cypress-tests-v2/.gitignore
new file mode 100644
index 0000000000..4d9625ebe2
--- /dev/null
+++ b/cypress-tests-v2/.gitignore
@@ -0,0 +1,8 @@
+# Outputs
+reports
+screenshots
+
+# Files
+creds.json
+rotate-password.sh
+run_all.sh
diff --git a/cypress-tests-v2/.prettierrc.json b/cypress-tests-v2/.prettierrc.json
new file mode 100644
index 0000000000..f0eb61e0f7
--- /dev/null
+++ b/cypress-tests-v2/.prettierrc.json
@@ -0,0 +1,6 @@
+{
+ "trailingComma": "es5",
+ "tabWidth": 2,
+ "semi": true,
+ "singleQuote": false
+}
diff --git a/cypress-tests-v2/README.md b/cypress-tests-v2/README.md
new file mode 100644
index 0000000000..dccb66ed0e
--- /dev/null
+++ b/cypress-tests-v2/README.md
@@ -0,0 +1,260 @@
+# Cypress Tests
+
+## Overview
+
+This Tool is a solution designed to automate testing for the [Hyperswitch](https://github.com/juspay/hyperswitch/) using Cypress, an open-source tool capable of conducting API call tests and UI tests. This README provides guidance on installing Cypress and its dependencies.
+
+## Installation
+
+### Prerequisites
+
+Before installing Cypress, ensure you have the following prerequisites installed:
+
+- npm (Node Package Manager)
+- Node.js (18.x and above)
+
+### Run Test Cases on your local
+
+To run test cases, follow these steps:
+
+1. Clone the repository and switch to the project directory:
+
+ ```shell
+ git clone https://github.com/juspay/hyperswitch
+ cd cypress-tests
+ ```
+
+2. Install Cypress and its dependencies to `cypress-tests` directory by running the following command:
+
+ ```shell
+ npm install
+ ```
+
+3. Set environment variables for cypress
+
+ ```shell
+ export CYPRESS_CONNECTOR="connector_id"
+ export CYPRESS_BASEURL="base_url"
+ export DEBUG=cypress:cli
+ export CYPRESS_ADMINAPIKEY="admin_api_key"
+ export CYPRESS_CONNECTOR_AUTH_FILE_PATH="path/to/creds.json"
+ ```
+
+4. Run Cypress test cases
+
+ To run the tests in interactive mode run the following command
+
+ ```shell
+ npm run cypress
+ ```
+
+ To run all the tests in headless mode run the following command
+
+ ```shell
+ npm run cypress:ci
+ ```
+
+ To run payment tests in headless mode run the following command
+
+ ```shell
+ npm run cypress:payments
+ ```
+
+ To run payout tests in headless mode run the following command
+
+ ```shell
+ npm run cypress:payouts
+ ```
+
+ To run routing tests in headless mode run the following command
+
+ ```shell
+ npm run cypress:routing
+ ```
+
+> [!NOTE]
+> To learn about how creds file should be structured, refer to the [example.creds.json](#example-credsjson) section below.
+
+## Folder Structure
+
+The folder structure of this directory is as follows:
+
+```text
+. # The root directory for the Cypress tests.
+├── .gitignore
+├── cypress # Contains Cypress-related files and folders.
+│ ├── e2e # End-to-end test directory.
+│ │ ├── ConnectorTest # Directory for test scenarios related to connectors.
+│ │ │ ├── your_testcase1_files_here.cy.js
+│ │ │ ├── your_testcase2_files_here.cy.js
+│ │ │ └── ...
+│ │ └── ConnectorUtils # Directory for utility functions related to connectors.
+│ │ ├── connector_detail_files_here.js
+│ │ └── utils.js
+│ ├── fixtures # Directory for storing test data API request.
+│ │ └── your_fixture_files_here.json
+│ ├── support # Directory for Cypress support files.
+│ │ ├── commands.js # File containing custom Cypress commands and utilities.
+│ │ └── e2e.js
+│ └── utils
+│ └── utility_files_go_here.js
+├── cypress.config.js # Cypress configuration file.
+├── cypress.env.json # File is used to store environment-specific configuration values,such as base URLs, which can be accessed within your Cypress tests.
+├── package.json # Node.js package file.
+├── readme.md # This file
+└── yarn.lock
+```
+
+## Writing Tests
+
+### Adding Connectors
+
+To add a new connector for testing with Hyperswitch, follow these steps:
+
+1.Include the connector details in the `creds.json` file:
+
+example:
+
+```json
+{
+ "stripe": {
+ "auth_type": "HeaderKey",
+ "api_key": "SK_134"
+ }
+}
+```
+
+2.Add the new connector details to the ConnectorUtils folder (including CardNo and connector-specific information).
+
+Refer to Stripe.js file for guidance:
+
+```javascript
+/cypress-tests/cypress/e2e/ConnectorUtils/Stripe.js
+```
+
+Similarly, create a new file named newconnectorname.js and include all the relevant information for that connector.
+
+3.In util.js, import the new connector details.
+
+### Adding Functions
+
+Similarly, add any helper functions or utilities in the `command.js` in support folder and import them into your tests as needed.
+
+Example: Adding List Mandate function to support `ListMandate` scenario
+
+```javascript
+Cypress.Commands.add("listMandateCallTest", (globalState) => {
+ const customerId = globalState.get("customerId");
+ cy.request({
+ method: "GET",
+ url: `${globalState.get("baseUrl")}/customers/${customerId}/mandates`,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": globalState.get("apiKey"),
+ },
+ }).then((response) => {
+ const xRequestId = response.headers["x-request-id"];
+ if (xRequestId) {
+ cy.task("cli_log", "x-request-id ->> " + xRequestId);
+ } else {
+ cy.task(
+ "cli_log",
+ "x-request-id is not available in the response headers"
+ );
+ }
+ expect(response.headers["content-type"]).to.include("application/json");
+ console.log(response.body);
+ let i = 0;
+ for (i in response.body) {
+ if (response.body[i].mandate_id === globalState.get("mandateId")) {
+ expect(response.body[i].status).to.equal("active");
+ }
+ }
+ });
+});
+```
+
+### Adding Scenarios
+
+To add new test scenarios:
+
+1. Navigate to the ConnectorTest directory.
+2. Create a new test file or modify existing ones to add your scenarios.
+3. Write your test scenarios using Cypress commands.
+
+For example, to add a scenario for listing mandates in the `Mandateflows`:
+
+```javascript
+// cypress/ConnectorTest/CreateSingleuseMandate.js
+describe("Payment Scenarios", () => {
+ it("should complete a successful payment", () => {
+ // Your test logic here
+ });
+});
+```
+
+In this scenario, you can call functions defined in `command.js`. For instance, to test the `listMandateCallTest` function:
+
+```javascript
+describe("Payment Scenarios", () => {
+ it("list-mandate-call-test", () => {
+ cy.listMandateCallTest(globalState);
+ });
+});
+```
+
+You can create similar scenarios by calling other functions defined in `command.js`. These functions interact with utility files like `connector.js` and include necessary assertions to support various connector scenarios.
+
+## Additional Resources
+
+For more information on using Cypress and writing effective tests, refer to the official Cypress documentation: [Cypress Documentation](https://docs.cypress.io/)
+
+## Example creds.json
+
+```json
+{
+ "adyen": {
+ "auth_type": "SignatureKey",
+ "api_key": "api_key",
+ "key1": "key1",
+ "api_secret": "api_secret"
+ },
+ "bankofamerica": {
+ "auth_type": "SignatureKey",
+ "api_key": "api_key",
+ "key1": "key1",
+ "api_secret": "api_secret"
+ },
+ "bluesnap": {
+ "auth_type": "BodyKey",
+ "api_key": "api_key",
+ "key1": "key1"
+ },
+ "cybersource": {
+ "auth_type": "SignatureKey",
+ "api_key": "api_key",
+ "key1": "key1",
+ "api_secret": "api_secret"
+ },
+ "nmi": {
+ "auth_type": "BodyKey",
+ "api_key": "api_key",
+ "key1": "key1"
+ },
+ "paypal": {
+ "auth_type": "BodyKey",
+ "api_key": "api_key",
+ "key1": "key1"
+ },
+ "stripe": {
+ "auth_type": "HeaderKey",
+ "api_key": "api_key"
+ },
+ "trustpay": {
+ "auth_type": "SignatureKey",
+ "api_key": "api_key",
+ "key1": "key1",
+ "api_secret": "api_secret"
+ }
+}
+```
diff --git a/cypress-tests-v2/cypress.config.js b/cypress-tests-v2/cypress.config.js
new file mode 100644
index 0000000000..7115b48865
--- /dev/null
+++ b/cypress-tests-v2/cypress.config.js
@@ -0,0 +1,67 @@
+const { defineConfig } = require("cypress");
+const fs = require("fs-extra");
+const path = require("path");
+
+let globalState;
+// Fetch from environment variable
+const connectorId = process.env.CYPRESS_CONNECTOR || "service";
+const reportName = process.env.REPORT_NAME || `${connectorId}_report`;
+
+module.exports = defineConfig({
+ e2e: {
+ setupNodeEvents(on, config) {
+ require("cypress-mochawesome-reporter/plugin")(on);
+
+ on("task", {
+ setGlobalState: (val) => {
+ return (globalState = val || {});
+ },
+ getGlobalState: () => {
+ return globalState || {};
+ },
+ cli_log: (message) => {
+ console.log("Logging console message from task");
+ console.log(message);
+ return null;
+ },
+ });
+ on("after:screenshot", async (details) => {
+ // Full path to the screenshot file
+ const screenshotPath = details.path;
+
+ // Extract filename without extension
+ const name = path.basename(
+ screenshotPath,
+ path.extname(screenshotPath)
+ );
+
+ // Define a new name with a connectorId
+ const newName = `[${connectorId}] ${name}.png`;
+ const newPath = path.join(path.dirname(screenshotPath), newName);
+
+ try {
+ await fs.rename(screenshotPath, newPath);
+ console.log("Screenshot renamed successfully");
+ return { path: newPath };
+ } catch (err) {
+ console.error("Failed to rename screenshot:", err);
+ }
+ });
+ },
+ experimentalRunAllSpecs: true,
+
+ reporter: "cypress-mochawesome-reporter",
+ reporterOptions: {
+ reportDir: "cypress/reports",
+ reportFilename: reportName,
+ reportPageTitle: `[${connectorId}] Cypress test report`,
+ embeddedScreenshots: true,
+ overwrite: false,
+ inlineAssets: true,
+ saveJson: true,
+ },
+ },
+ chromeWebSecurity: false,
+ defaultCommandTimeout: 10000,
+ pageLoadTimeout: 20000,
+});
diff --git a/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js b/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js
new file mode 100644
index 0000000000..ea7b4f09fd
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js
@@ -0,0 +1,1299 @@
+// This file is the default. To override, add to connector.js
+
+import { getCustomExchange } from "./_Reusable";
+
+const successfulNo3DSCardDetails = {
+ card_number: "4111111111111111",
+ card_exp_month: "08",
+ card_exp_year: "25",
+ card_holder_name: "joseph Doe",
+ card_cvc: "999",
+};
+
+const successfulThreeDSTestCardDetails = {
+ card_number: "4111111111111111",
+ card_exp_month: "10",
+ card_exp_year: "25",
+ card_holder_name: "morino",
+ card_cvc: "999",
+};
+
+const singleUseMandateData = {
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ mandate_type: {
+ single_use: {
+ amount: 8000,
+ currency: "USD",
+ },
+ },
+};
+
+const multiUseMandateData = {
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ mandate_type: {
+ multi_use: {
+ amount: 8000,
+ currency: "USD",
+ },
+ },
+};
+
+export const payment_methods_enabled = [
+ {
+ payment_method: "bank_debit",
+ payment_method_types: [
+ {
+ payment_method_type: "ach",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "bacs",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "becs",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "sepa",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ ],
+ },
+ {
+ payment_method: "bank_redirect",
+ payment_method_types: [
+ {
+ payment_method_type: "blik",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "eps",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "ideal",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "giropay",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "local_bank_redirect",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "przelewy24",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "sofort",
+ payment_experience: null,
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ ],
+ },
+ {
+ payment_method: "bank_transfer",
+ payment_method_types: [
+ {
+ payment_method_type: "ach",
+ payment_experience: "redirect_to_url",
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "bacs",
+ payment_experience: "redirect_to_url",
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "pix",
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: false,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "sepa",
+ payment_experience: "redirect_to_url",
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ ],
+ },
+ {
+ payment_method: "card",
+ payment_method_types: [
+ {
+ payment_method_type: "credit",
+ card_networks: [
+ "AmericanExpress",
+ "Discover",
+ "Interac",
+ "JCB",
+ "Mastercard",
+ "Visa",
+ "DinersClub",
+ "UnionPay",
+ "RuPay",
+ ],
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: false,
+ installment_payment_enabled: true,
+ },
+ {
+ payment_method_type: "debit",
+ card_networks: [
+ "AmericanExpress",
+ "Discover",
+ "Interac",
+ "JCB",
+ "Mastercard",
+ "Visa",
+ "DinersClub",
+ "UnionPay",
+ "RuPay",
+ ],
+ minimum_amount: -1,
+ maximum_amount: 68607706,
+ recurring_enabled: false,
+ installment_payment_enabled: true,
+ },
+ ],
+ },
+ {
+ payment_method: "card_redirect",
+ payment_method_types: [
+ {
+ payment_method_type: "card_redirect",
+ payment_experience: "redirect_to_url",
+ card_networks: null,
+ accepted_currencies: null,
+ accepted_countries: null,
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ },
+ ],
+ },
+ {
+ payment_method: "real_time_payment",
+ payment_method_types: [
+ {
+ payment_method_type: "duit_now",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ {
+ payment_method_type: "fps",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ {
+ payment_method_type: "prompt_pay",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ {
+ payment_method_type: "viet_qr",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ ],
+ },
+ {
+ payment_method: "upi",
+ payment_method_types: [
+ {
+ payment_method_type: "upi_collect",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ {
+ payment_method_type: "upi_intent",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: true,
+ installment_payment_enabled: true,
+ payment_experience: "redirect_to_url",
+ },
+ ],
+ },
+];
+
+export const connectorDetails = {
+ bank_transfer_pm: {
+ PaymentIntent: getCustomExchange({
+ Request: {
+ currency: "BRL",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ Pix: getCustomExchange({
+ Request: {
+ payment_method: "bank_transfer",
+ payment_method_type: "pix",
+ payment_method_data: {
+ bank_transfer: {
+ pix: {},
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "BR",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ currency: "BRL",
+ },
+ }),
+ },
+ bank_redirect_pm: {
+ PaymentIntent: getCustomExchange({
+ Request: {
+ currency: "EUR",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ Ideal: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "ideal",
+ payment_method_data: {
+ bank_redirect: {
+ ideal: {
+ bank_name: "ing",
+ country: "NL",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "NL",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ },
+ }),
+ Giropay: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "giropay",
+ payment_method_data: {
+ bank_redirect: {
+ giropay: {
+ bank_name: "",
+ bank_account_bic: "",
+ bank_account_iban: "",
+ preferred_language: "en",
+ country: "DE",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "DE",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ },
+ }),
+ Sofort: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "sofort",
+ payment_method_data: {
+ bank_redirect: {
+ sofort: {
+ country: "DE",
+ preferred_language: "en",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "DE",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ },
+ }),
+ Eps: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "eps",
+ payment_method_data: {
+ bank_redirect: {
+ eps: {
+ bank_name: "ing",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "AT",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ },
+ }),
+ Przelewy24: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "przelewy24",
+ payment_method_data: {
+ bank_redirect: {
+ przelewy24: {
+ bank_name: "citi",
+ billing_details: {
+ email: "[email protected]",
+ },
+ },
+ },
+ },
+ },
+ }),
+ BlikPaymentIntent: getCustomExchange({
+ Request: {
+ currency: "PLN",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ Blik: getCustomExchange({
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "blik",
+ payment_method_data: {
+ bank_redirect: {
+ blik: {
+ blik_code: "777987",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "San Fransico",
+ state: "California",
+ zip: "94122",
+ country: "PL",
+ first_name: "john",
+ last_name: "doe",
+ },
+ },
+ },
+ }),
+ },
+ card_pm: {
+ PaymentIntent: getCustomExchange({
+ Request: {
+ currency: "USD",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ PaymentIntentOffSession: getCustomExchange({
+ Request: {
+ currency: "USD",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ "3DSManualCapture": getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ }),
+ "3DSAutoCapture": getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ }),
+ No3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ }),
+ No3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ }),
+ Capture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ }),
+ PartialCapture: getCustomExchange({
+ Request: {},
+ }),
+ Void: getCustomExchange({
+ Request: {},
+ Response: {
+ status: 200,
+ body: {
+ status: "cancelled",
+ capture_method: "manual",
+ },
+ },
+ ResponseCustom: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message:
+ "You cannot cancel this payment because it has status succeeded",
+ code: "IR_16",
+ },
+ },
+ },
+ }),
+ Refund: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ ResponseCustom: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "The refund amount exceeds the amount captured",
+ code: "IR_13",
+ },
+ },
+ },
+ }),
+ PartialRefund: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ }),
+ SyncRefund: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ }),
+ MandateSingleUse3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ mandate_data: singleUseMandateData,
+ },
+ }),
+ MandateSingleUse3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ mandate_data: singleUseMandateData,
+ },
+ }),
+ MandateSingleUseNo3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: singleUseMandateData,
+ },
+ }),
+ MandateSingleUseNo3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: singleUseMandateData,
+ },
+ }),
+ MandateMultiUseNo3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: multiUseMandateData,
+ },
+ }),
+ MandateMultiUseNo3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: multiUseMandateData,
+ },
+ }),
+ MandateMultiUse3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ mandate_data: multiUseMandateData,
+ },
+ }),
+ MandateMultiUse3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ mandate_data: multiUseMandateData,
+ },
+ }),
+ ZeroAuthMandate: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: singleUseMandateData,
+ },
+ }),
+ SaveCardUseNo3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ setup_future_usage: "on_session",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "127.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ SaveCardUseNo3DSAutoCaptureOffSession: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ setup_future_usage: "off_session",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "127.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ SaveCardUseNo3DSManualCaptureOffSession: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ setup_future_usage: "off_session",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "127.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ SaveCardConfirmAutoCaptureOffSession: getCustomExchange({
+ Request: {
+ setup_future_usage: "off_session",
+ },
+ }),
+ SaveCardConfirmManualCaptureOffSession: getCustomExchange({
+ Request: {
+ setup_future_usage: "off_session",
+ },
+ }),
+ SaveCardUseNo3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ setup_future_usage: "on_session",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "127.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ PaymentMethodIdMandateNo3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: null,
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ PaymentMethodIdMandateNo3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ mandate_data: null,
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ PaymentMethodIdMandate3DSAutoCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "USD",
+ mandate_data: null,
+ authentication_type: "three_ds",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ PaymentMethodIdMandate3DSManualCapture: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ mandate_data: null,
+ authentication_type: "three_ds",
+ customer_acceptance: {
+ acceptance_type: "offline",
+ accepted_at: "1963-05-03T04:07:52.723Z",
+ online: {
+ ip_address: "125.0.0.1",
+ user_agent: "amet irure esse",
+ },
+ },
+ },
+ }),
+ InvalidCardNumber: {
+ Request: {
+ currency: "USD",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "123456",
+ card_exp_month: "10",
+ card_exp_year: "25",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: "Json deserialize error: invalid card number length",
+ },
+ },
+ },
+ InvalidExpiryMonth: {
+ Request: {
+ currency: "USD",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "00",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Invalid Expiry Month",
+ code: "IR_16",
+ },
+ },
+ },
+ },
+ InvalidExpiryYear: {
+ Request: {
+ currency: "USD",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Invalid Expiry Year",
+ code: "IR_16",
+ },
+ },
+ },
+ },
+ InvalidCardCvv: {
+ Request: {
+ currency: "USD",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123456",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Invalid card_cvc length",
+ code: "IR_16",
+ },
+ },
+ },
+ },
+ InvalidCurrency: {
+ Request: {
+ currency: "United",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123456",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error:
+ "Json deserialize error: unknown variant `United`, expected one of `AED`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BBD`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BND`, `BOB`, `BRL`, `BSD`, `BWP`, `BYN`, `BZD`, `CAD`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUP`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EGP`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GTQ`, `GYD`, `HKD`, `HNL`, `HRK`, `HTG`, `HUF`, `IDR`, `ILS`, `INR`, `IQD`, `JMD`, `JOD`, `JPY`, `KES`, `KGS`, `KHR`, `KMF`, `KRW`, `KWD`, `KYD`, `KZT`, `LAK`, `LBP`, `LKR`, `LRD`, `LSL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MOP`, `MRU`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZN`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `RWF`, `SAR`, `SBD`, `SCR`, `SEK`, `SGD`, `SHP`, `SLE`, `SLL`, `SOS`, `SRD`, `SSP`, `STN`, `SVC`, `SZL`, `THB`, `TND`, `TOP`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VES`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMW`",
+ },
+ },
+ },
+ InvalidCaptureMethod: {
+ Request: {
+ currency: "USD",
+ capture_method: "auto",
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123456",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error:
+ "Json deserialize error: unknown variant `auto`, expected one of `automatic`, `manual`, `manual_multiple`, `scheduled`",
+ },
+ },
+ },
+ InvalidPaymentMethod: {
+ Request: {
+ currency: "USD",
+ payment_method: "this_supposed_to_be_a_card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2023",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123456",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error:
+ "Json deserialize error: unknown variant `this_supposed_to_be_a_card`, expected one of `card`, `card_redirect`, `pay_later`, `wallet`, `bank_redirect`, `bank_transfer`, `crypto`, `bank_debit`, `reward`, `real_time_payment`, `upi`, `voucher`, `gift_card`, `open_banking`",
+ },
+ },
+ },
+ InvalidAmountToCapture: {
+ Request: {
+ currency: "USD",
+ amount_to_capture: 10000,
+ payment_method: "card",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2026",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message:
+ "amount_to_capture contains invalid data. Expected format is amount_to_capture lesser than amount",
+ code: "IR_05",
+ },
+ },
+ },
+ },
+ MissingRequiredParam: {
+ Request: {
+ currency: "USD",
+ payment_method_type: "debit",
+ setup_future_usage: "on_session",
+ payment_method_data: {
+ card: {
+ card_number: "4242424242424242",
+ card_exp_month: "01",
+ card_exp_year: "2026",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+ },
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Missing required param: payment_method",
+ code: "IR_04",
+ },
+ },
+ },
+ },
+ PaymentIntentErrored: {
+ Request: {
+ currency: "USD",
+ },
+ Response: {
+ status: 422,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "A payment token or payment method data is required",
+ code: "IR_06",
+ },
+ },
+ },
+ },
+ CaptureGreaterAmount: {
+ Request: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "amount_to_capture is greater than amount",
+ code: "IR_06",
+ },
+ },
+ },
+ },
+ CaptureCapturedAmount: getCustomExchange({
+ Request: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message:
+ "This Payment could not be captured because it has a payment.status of succeeded. The expected state is requires_capture, partially_captured_and_capturable, processing",
+ code: "IR_14",
+ },
+ },
+ },
+ }),
+ ConfirmSuccessfulPayment: getCustomExchange({
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "USD",
+ customer_acceptance: null,
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message:
+ "You cannot confirm this payment because it has status succeeded",
+ code: "IR_16",
+ },
+ },
+ },
+ }),
+ },
+ upi_pm: {
+ PaymentIntent: getCustomExchange({
+ Request: {
+ currency: "INR",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ }),
+ UpiCollect: getCustomExchange({
+ Request: {
+ payment_method: "upi",
+ payment_method_type: "upi_collect",
+ payment_method_data: {
+ upi: {
+ upi_collect: {
+ vpa_id: "successtest@iata",
+ },
+ },
+ },
+ },
+ }),
+ UpiIntent: getCustomExchange({
+ Request: {
+ payment_method: "upi",
+ payment_method_type: "upi_intent",
+ payment_method_data: {
+ upi: {
+ upi_intent: {},
+ },
+ },
+ },
+ }),
+ },
+};
diff --git a/cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js b/cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js
new file mode 100644
index 0000000000..6faea73d4e
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js
@@ -0,0 +1,108 @@
+import { connectorDetails as CommonConnectorDetails } from "./Commons.js";
+
+const connectorDetails = {
+ commons: CommonConnectorDetails,
+};
+
+export default function getConnectorDetails(connectorId) {
+ let x = mergeDetails(connectorId);
+ return x;
+}
+
+function mergeDetails(connectorId) {
+ const connectorData = getValueByKey(connectorDetails, connectorId);
+ const fallbackData = getValueByKey(connectorDetails, "commons");
+ // Merge data, prioritizing connectorData and filling missing data from fallbackData
+ const mergedDetails = mergeConnectorDetails(connectorData, fallbackData);
+ return mergedDetails;
+}
+
+function mergeConnectorDetails(source, fallback) {
+ const merged = {};
+
+ // Loop through each key in the source object
+ for (const key in source) {
+ merged[key] = { ...source[key] }; // Copy properties from source
+
+ // Check if fallback has the same key and properties are missing in source
+ if (fallback[key]) {
+ for (const subKey in fallback[key]) {
+ if (!merged[key][subKey]) {
+ merged[key][subKey] = fallback[key][subKey];
+ }
+ }
+ }
+ }
+
+ // Add missing keys from fallback that are not present in source
+ for (const key in fallback) {
+ if (!merged[key]) {
+ merged[key] = fallback[key];
+ }
+ }
+
+ return merged;
+}
+
+export function getValueByKey(jsonObject, key) {
+ const data =
+ typeof jsonObject === "string" ? JSON.parse(jsonObject) : jsonObject;
+
+ if (data && typeof data === "object" && key in data) {
+ return data[key];
+ } else {
+ return null;
+ }
+}
+
+export const should_continue_further = (res_data) => {
+ if (res_data.trigger_skip !== undefined) {
+ return !res_data.trigger_skip;
+ }
+
+ if (
+ res_data.body.error !== undefined ||
+ res_data.body.error_code !== undefined ||
+ res_data.body.error_message !== undefined
+ ) {
+ return false;
+ } else {
+ return true;
+ }
+};
+
+export function defaultErrorHandler(response, response_data) {
+ if (
+ response.status === 400 &&
+ response.body.error.message === "Payment method type not supported"
+ ) {
+ // Update the default status from 501 to 400 as `unsupported payment method` error is the next common error after `not implemented` error
+ response_data = updateDefaultStatusCode();
+ }
+
+ if (response_data.status === 200) {
+ throw new Error("Expecting valid response but got an error response");
+ }
+
+ expect(response.body).to.have.property("error");
+
+ if (typeof response.body.error === "object") {
+ for (const key in response_data.body.error) {
+ expect(response_data.body.error[key]).to.equal(response.body.error[key]);
+ }
+ } else if (typeof response.body.error === "string") {
+ expect(response.body.error).to.include(response_data.body.error);
+ }
+}
+
+export function isoTimeTomorrow() {
+ const now = new Date();
+
+ // Create a new date object for tomorrow
+ const tomorrow = new Date(now);
+ tomorrow.setDate(now.getDate() + 1);
+
+ // Convert to ISO string format
+ const isoStringTomorrow = tomorrow.toISOString();
+ return isoStringTomorrow;
+}
diff --git a/cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js b/cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js
new file mode 100644
index 0000000000..b69506ff07
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js
@@ -0,0 +1,92 @@
+import State from "../../../utils/State";
+const globalState = new State({
+ connectorId: Cypress.env("CONNECTOR"),
+ baseUrl: Cypress.env("BASEURL"),
+ adminApiKey: Cypress.env("ADMINAPIKEY"),
+ connectorAuthFilePath: Cypress.env("CONNECTOR_AUTH_FILE_PATH"),
+});
+
+const connectorName = normalise(globalState.get("connectorId"));
+
+function normalise(input) {
+ const exceptions = {
+ bankofamerica: "Bank of America",
+ cybersource: "Cybersource",
+ paybox: "Paybox",
+ paypal: "Paypal",
+ wellsfargo: "Wellsfargo",
+ // Add more known exceptions here
+ };
+
+ if (typeof input !== "string") {
+ const spec_name = Cypress.spec.name.split("-")[1].split(".")[0];
+ return `${spec_name}`;
+ }
+
+ const lowerCaseInput = input.toLowerCase();
+ return exceptions[lowerCaseInput] || input;
+}
+
+/*
+`getDefaultExchange` contains the default Request and Response to be considered if none provided.
+`getCustomExchange` takes in 2 optional fields named as Request and Response.
+with `getCustomExchange`, if 501 response is expected, there is no need to pass Response as it considers default values.
+*/
+
+// Const to get default PaymentExchange object
+const getDefaultExchange = () => ({
+ Request: {
+ currency: "EUR",
+ },
+ Response: {
+ status: 501,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: `Selected payment method through ${connectorName} is not implemented`,
+ code: "IR_00",
+ },
+ },
+ },
+});
+
+const getUnsupportedExchange = () => ({
+ Request: {
+ currency: "EUR",
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: `Payment method type not supported`,
+ code: "IR_19",
+ },
+ },
+ },
+});
+
+// Const to get PaymentExchange with overridden properties
+export const getCustomExchange = (overrides) => {
+ const defaultExchange = getDefaultExchange();
+
+ return {
+ ...defaultExchange,
+ Request: {
+ ...defaultExchange.Request,
+ ...(overrides.Request || {}),
+ },
+ Response: {
+ ...defaultExchange.Response,
+ ...(overrides.Response || {}),
+ },
+ ...(overrides.ResponseCustom
+ ? { ResponseCustom: overrides.ResponseCustom }
+ : {}),
+ };
+};
+
+// Function to update the default status code
+export const updateDefaultStatusCode = () => {
+ return getUnsupportedExchange().Response;
+};
diff --git a/cypress-tests-v2/cypress/e2e/configs/PaymentMethodList/placeholder b/cypress-tests-v2/cypress/e2e/configs/PaymentMethodList/placeholder
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cypress-tests-v2/cypress/e2e/configs/Payout/placeholder b/cypress-tests-v2/cypress/e2e/configs/Payout/placeholder
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cypress-tests-v2/cypress/e2e/configs/Routing/AdvancedConfigs.js b/cypress-tests-v2/cypress/e2e/configs/Routing/AdvancedConfigs.js
new file mode 100644
index 0000000000..fbed06301a
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Routing/AdvancedConfigs.js
@@ -0,0 +1,80 @@
+const data = [
+ {
+ connector: "adyen",
+ merchant_connector_id: "",
+ },
+];
+
+const rules = [
+ {
+ name: "rule_1",
+ connectorSelection: {
+ type: "priority",
+ data: [
+ {
+ connector: "stripe",
+ merchant_connector_id: "",
+ },
+ {
+ connector: "bluesnap",
+ merchant_connector_id: "",
+ },
+ ],
+ },
+ statements: [
+ {
+ condition: [
+ {
+ lhs: "payment_method",
+ comparison: "equal",
+ value: {
+ type: "enum_variant",
+ value: "card",
+ },
+ metadata: {},
+ },
+ ],
+ },
+ ],
+ },
+ {
+ name: "rule_2",
+ connectorSelection: {
+ type: "priority",
+ data: [
+ {
+ connector: "adyen",
+ merchant_connector_id: "",
+ },
+ ],
+ },
+ statements: [
+ {
+ condition: [
+ {
+ lhs: "payment_method",
+ comparison: "equal",
+ value: {
+ type: "enum_variant",
+ value: "bank_redirect",
+ },
+ metadata: {},
+ },
+ ],
+ },
+ ],
+ },
+];
+
+export const configs = {
+ name: "Rule Based routing",
+ description: "Advanced configuration (Rule based routing) for core flows.",
+ data: {
+ defaultSelection: {
+ type: "priority",
+ data: data,
+ },
+ rules: rules,
+ metadata: {},
+ },
+};
diff --git a/cypress-tests-v2/cypress/e2e/configs/Routing/FallbackConfigs.js b/cypress-tests-v2/cypress/e2e/configs/Routing/FallbackConfigs.js
new file mode 100644
index 0000000000..610aed67be
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Routing/FallbackConfigs.js
@@ -0,0 +1 @@
+export const configs = ["bluesnap"];
diff --git a/cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js b/cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js
new file mode 100644
index 0000000000..49725e8498
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js
@@ -0,0 +1,35 @@
+import { configs as advancedConfigs } from "./AdvancedConfigs.js";
+import { configs as fallbackConfigs } from "./FallbackConfigs.js";
+
+const serviceDetails = {
+ advanced_configs: advancedConfigs,
+ fallback_configs: fallbackConfigs,
+};
+
+export const getServiceDetails = (serviceId) => {
+ let data = getValueByKey(serviceDetails, serviceId);
+ return data;
+};
+
+function getValueByKey(jsonObject, key) {
+ const data =
+ typeof jsonObject === "string" ? JSON.parse(jsonObject) : jsonObject;
+
+ if (data && typeof data === "object" && key in data) {
+ return data[key];
+ } else {
+ return null;
+ }
+}
+
+export const should_continue_further = (res_data) => {
+ if (
+ res_data.body.error !== undefined ||
+ res_data.body.error_code !== undefined ||
+ res_data.body.error_message !== undefined
+ ) {
+ return false;
+ } else {
+ return true;
+ }
+};
diff --git a/cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js b/cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js
new file mode 100644
index 0000000000..b2cbcf4a55
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js
@@ -0,0 +1,153 @@
+import * as fixtures from "../../../fixtures/imports";
+import State from "../../../utils/State";
+import { payment_methods_enabled } from "../../configs/Payment/Commons";
+
+let globalState;
+
+describe("Core APIs", () => {
+ context("Organization APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("Organization create call", () => {
+ cy.organizationCreateCall(
+ fixtures.organization_body.org_create,
+ globalState
+ );
+ });
+ it("Organization retrieve call", () => {
+ cy.organizationRetrieveCall(globalState);
+ });
+ it("Organization update call", () => {
+ cy.organizationUpdateCall(
+ fixtures.organization_body.org_update,
+ globalState
+ );
+ });
+ });
+
+ context("Merchant account APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("Merchant account create call", () => {
+ cy.merchantAccountCreateCall(
+ fixtures.merchant_account_body.ma_create,
+ globalState
+ );
+ });
+ it("Merchant account retrieve call", () => {
+ cy.merchantAccountRetrieveCall(globalState);
+ });
+ it("Merchant account update call", () => {
+ cy.merchantAccountUpdateCall(
+ fixtures.merchant_account_body.ma_update,
+ globalState
+ );
+ });
+ });
+
+ context("Business profile APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("Business profile create call", () => {
+ cy.businessProfileCreateCall(
+ fixtures.business_profile_body.bp_create,
+ globalState
+ );
+ });
+ it("Business profile retrieve call", () => {
+ cy.businessProfileRetrieveCall(globalState);
+ });
+ it("Business profile update call", () => {
+ cy.businessProfileUpdateCall(
+ fixtures.business_profile_body.bp_update,
+ globalState
+ );
+ });
+ });
+
+ context("Merchant connector account APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("[Payment] Merchant connector account create call", () => {
+ // `globalState` can only be accessed in the `it` block
+ const connector_name = globalState.data.connectorId;
+ cy.mcaCreateCall(
+ `${connector_name}_default`,
+ connector_name,
+ "payment_processor",
+ globalState,
+ fixtures.merchant_connector_account_body.mca_create,
+ payment_methods_enabled
+ );
+ });
+ it("[Payment] Merchant connector account retrieve call", () => {
+ cy.mcaRetrieveCall(globalState);
+ });
+ it("[Payment] Merchant connector account update call", () => {
+ // `globalState` can only be accessed in the `it` block
+ const connector_name = globalState.data.connectorId;
+ cy.mcaUpdateCall(
+ `${connector_name}_default`,
+ connector_name,
+ "payment_processor",
+ globalState,
+ fixtures.merchant_connector_account_body.mca_update,
+ payment_methods_enabled
+ );
+ });
+ });
+
+ context("API Key APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("API Key create call", () => {
+ cy.apiKeyCreateCall(fixtures.api_key_body.api_key_create, globalState);
+ });
+ it("API Key retrieve call", () => {
+ cy.apiKeyRetrieveCall(globalState);
+ });
+ it("API Key update call", () => {
+ cy.apiKeyUpdateCall(fixtures.api_key_body.api_key_update, globalState);
+ });
+ });
+});
diff --git a/cypress-tests-v2/cypress/e2e/spec/PaymentMethodList/0000-PaymentmethodList.cy.js b/cypress-tests-v2/cypress/e2e/spec/PaymentMethodList/0000-PaymentmethodList.cy.js
new file mode 100644
index 0000000000..eb0012026b
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/spec/PaymentMethodList/0000-PaymentmethodList.cy.js
@@ -0,0 +1,5 @@
+describe("template spec", () => {
+ it("passes", () => {
+ cy.visit("https://example.cypress.io");
+ });
+});
diff --git a/cypress-tests-v2/cypress/e2e/spec/Payout/0000-CoreFlows.cy.js b/cypress-tests-v2/cypress/e2e/spec/Payout/0000-CoreFlows.cy.js
new file mode 100644
index 0000000000..eb0012026b
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/spec/Payout/0000-CoreFlows.cy.js
@@ -0,0 +1,5 @@
+describe("template spec", () => {
+ it("passes", () => {
+ cy.visit("https://example.cypress.io");
+ });
+});
diff --git a/cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js b/cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js
new file mode 100644
index 0000000000..cde64e563b
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js
@@ -0,0 +1,123 @@
+import fixtures from "../../../fixtures/routing.json";
+import State from "../../../utils/State";
+import * as utils from "../../configs/Routing/Utils";
+
+let globalState;
+
+// Marked as skipped as the List APIs are not implemented yet.
+// In addition to this, we do not want to hard code the MCA Ids in the test cases.
+describe("Routing core APIs", () => {
+ context("Login", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("User login", () => {
+ cy.userLogin(globalState);
+ cy.terminate2Fa(globalState);
+ cy.userInfo(globalState);
+ });
+ });
+
+ context("Fetch MCA Ids", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("List MCA call", () => {
+ cy.listMcaCall(globalState);
+ });
+ });
+
+ context("Routing APIs", () => {
+ before("seed global state", () => {
+ cy.task("getGlobalState").then((state) => {
+ globalState = new State(state);
+ });
+ });
+
+ after("flush global state", () => {
+ cy.task("setGlobalState", globalState.data);
+ });
+
+ it("Routing algorithm create call", () => {
+ const adyen_merchant_connector_id =
+ globalState.data.adyenMerchantConnectorId;
+ const bluesnap_merchant_connector_id =
+ globalState.data.bluesnapMerchantConnectorId;
+ const stripe_merchant_connector_id =
+ globalState.data.stripeMerchantConnectorId;
+
+ // Fetching the advanced config details
+ const advanced_config_details =
+ utils.getServiceDetails("advanced_configs");
+ // setting the merchant connector ids in the payload
+ // defaultSelection data
+ advanced_config_details[
+ "data"
+ ].defaultSelection.data[0].merchant_connector_id =
+ adyen_merchant_connector_id;
+ // rules data
+ // rule 1
+ advanced_config_details[
+ "data"
+ ].rules[0].connectorSelection.data[0].merchant_connector_id =
+ stripe_merchant_connector_id;
+ advanced_config_details[
+ "data"
+ ].rules[0].connectorSelection.data[1].merchant_connector_id =
+ bluesnap_merchant_connector_id;
+ // rule 2
+ advanced_config_details[
+ "data"
+ ].rules[1].connectorSelection.data[0].merchant_connector_id =
+ adyen_merchant_connector_id;
+
+ const payload = {
+ name: advanced_config_details["name"],
+ data: advanced_config_details["data"],
+ description: advanced_config_details["description"],
+ };
+ const type = "advanced";
+
+ cy.routingSetupCall(fixtures.routing_create, type, payload, globalState);
+ });
+ it("Routing algorithm activate call", () => {
+ cy.routingActivateCall(fixtures.routing_activate, globalState);
+ });
+ it("Routing algorithm activation retrieve call", () => {
+ cy.routingActivationRetrieveCall(globalState);
+ });
+ it("Routing algorithm deactivate call", () => {
+ cy.routingDeactivateCall(globalState);
+ });
+ it("Routing algorithm retrieve call", () => {
+ cy.routingRetrieveCall(globalState);
+ });
+ it("Routing algorithm default fallback update call", () => {
+ //fallback_config_details
+ const payload = utils.getServiceDetails("fallback_configs");
+
+ cy.routingDefaultFallbackCall(
+ fixtures.default_fallback_update,
+ payload,
+ globalState
+ );
+ });
+ it("Routing algorithm fallback retrieve call", () => {
+ cy.routingFallbackRetrieveCall(globalState);
+ });
+ });
+});
diff --git a/cypress-tests-v2/cypress/e2e/spec/Routing/0001-PriorityRouting.cy.js b/cypress-tests-v2/cypress/e2e/spec/Routing/0001-PriorityRouting.cy.js
new file mode 100644
index 0000000000..eb0012026b
--- /dev/null
+++ b/cypress-tests-v2/cypress/e2e/spec/Routing/0001-PriorityRouting.cy.js
@@ -0,0 +1,5 @@
+describe("template spec", () => {
+ it("passes", () => {
+ cy.visit("https://example.cypress.io");
+ });
+});
diff --git a/cypress-tests-v2/cypress/fixtures/api_key.json b/cypress-tests-v2/cypress/fixtures/api_key.json
new file mode 100644
index 0000000000..2dbb87e103
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/api_key.json
@@ -0,0 +1,11 @@
+{
+ "api_key_create": {
+ "name": "Hyperswitch API Key",
+ "expiration": "",
+ "description": null
+ },
+ "api_key_update": {
+ "description": "Hyperswitch Cypress specific API Key",
+ "expiration": ""
+ }
+}
diff --git a/cypress-tests-v2/cypress/fixtures/business_profile.json b/cypress-tests-v2/cypress/fixtures/business_profile.json
new file mode 100644
index 0000000000..86410a03f6
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/business_profile.json
@@ -0,0 +1,62 @@
+{
+ "bp_create": {
+ "profile_name": "HyperS",
+ "return_url": "https://duck.com/success",
+ "enable_payment_response_hash": true,
+ "redirect_to_merchant_with_http_post": false,
+ "metadata": null,
+ "order_fulfillment_time": 900,
+ "order_fulfillment_time_origin": "create",
+ "applepay_verified_domains": null,
+ "session_expiry": 900,
+ "payment_link_config": null,
+ "authentication_connector_details": null,
+ "use_billing_as_payment_method_billing": true,
+ "collect_shipping_details_from_wallet_connector_if_required": false,
+ "collect_billing_details_from_wallet_connector_if_required": false,
+ "always_collect_shipping_details_from_wallet_connector": false,
+ "always_collect_billing_details_from_wallet_connector": false,
+ "is_connector_agnostic_mit_enabled": false,
+ "payout_link_config": null,
+ "outgoing_webhook_custom_http_headers": null,
+ "webhook_details": {
+ "webhook_version": "1.0.1",
+ "webhook_username": "ekart_retail",
+ "webhook_password": "password_ekart@123",
+ "webhook_url": "https://webhook.site",
+ "payment_created_enabled": true,
+ "payment_succeeded_enabled": true,
+ "payment_failed_enabled": true
+ }
+ },
+ "bp_update": {
+ "profile_name": "Hyperswitch",
+ "return_url": "https://duck.com/success",
+ "enable_payment_response_hash": true,
+ "redirect_to_merchant_with_http_post": false,
+ "metadata": null,
+ "order_fulfillment_time": 900,
+ "order_fulfillment_time_origin": "create",
+ "applepay_verified_domains": null,
+ "session_expiry": 900,
+ "payment_link_config": null,
+ "authentication_connector_details": null,
+ "use_billing_as_payment_method_billing": true,
+ "collect_shipping_details_from_wallet_connector_if_required": false,
+ "collect_billing_details_from_wallet_connector_if_required": false,
+ "always_collect_shipping_details_from_wallet_connector": false,
+ "always_collect_billing_details_from_wallet_connector": false,
+ "is_connector_agnostic_mit_enabled": false,
+ "payout_link_config": null,
+ "outgoing_webhook_custom_http_headers": null,
+ "webhook_details": {
+ "webhook_version": "1.0.1",
+ "webhook_username": "ekart_retail",
+ "webhook_password": "password_ekart@123",
+ "webhook_url": "https://webhook.site",
+ "payment_created_enabled": true,
+ "payment_succeeded_enabled": true,
+ "payment_failed_enabled": true
+ }
+ }
+}
diff --git a/cypress-tests-v2/cypress/fixtures/imports.js b/cypress-tests-v2/cypress/fixtures/imports.js
new file mode 100644
index 0000000000..30f0dfb50c
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/imports.js
@@ -0,0 +1,15 @@
+import api_key_body from "./api_key.json";
+import business_profile_body from "./business_profile.json";
+import merchant_account_body from "./merchant_account.json";
+import merchant_connector_account_body from "./merchant_connector_account.json";
+import organization_body from "./organization.json";
+import routing_body from "./routing.json";
+
+export {
+ api_key_body,
+ business_profile_body,
+ merchant_account_body,
+ merchant_connector_account_body,
+ organization_body,
+ routing_body,
+};
diff --git a/cypress-tests-v2/cypress/fixtures/merchant_account.json b/cypress-tests-v2/cypress/fixtures/merchant_account.json
new file mode 100644
index 0000000000..ac24e95651
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/merchant_account.json
@@ -0,0 +1,9 @@
+{
+ "ma_create": {
+ "merchant_name": "Hyperswitch Seller",
+ "organization_id": ""
+ },
+ "ma_update": {
+ "merchant_name": "Hyperswitch"
+ }
+}
diff --git a/cypress-tests-v2/cypress/fixtures/merchant_connector_account.json b/cypress-tests-v2/cypress/fixtures/merchant_connector_account.json
new file mode 100644
index 0000000000..ca9ada44a2
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/merchant_connector_account.json
@@ -0,0 +1,32 @@
+{
+ "mca_create": {
+ "connector_type": "payment_processor",
+ "connector_name": "connector",
+ "connector_account_details": {
+ "auth_type": "auth_type",
+ "api_key": "",
+ "api_secret": "",
+ "key1": "",
+ "key2": ""
+ },
+ "metadata": {
+ "status_url": "https://webhook.site",
+ "account_name": "transaction_processing",
+ "pricing_type": "fixed_price",
+ "acquirer_bin": "438309",
+ "acquirer_merchant_id": "00002000000"
+ },
+ "frm_configs": null,
+ "connector_webhook_details": {
+ "merchant_secret": ""
+ },
+ "profile_id": ""
+ },
+ "mca_update": {
+ "connector_type": "payment_processor",
+ "connector_webhook_details": {
+ "merchant_secret": "m3rch4n7_se(rE7"
+ },
+ "merchant_id": ""
+ }
+}
diff --git a/cypress-tests-v2/cypress/fixtures/organization.json b/cypress-tests-v2/cypress/fixtures/organization.json
new file mode 100644
index 0000000000..24d084ab60
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/organization.json
@@ -0,0 +1,11 @@
+{
+ "org_create": {
+ "organization_name": "Hyperswitch Organization"
+ },
+ "org_update": {
+ "organization_name": "Hyperswitch",
+ "metadata": {
+ "additional_info": "123"
+ }
+ }
+}
diff --git a/cypress-tests-v2/cypress/fixtures/routing.json b/cypress-tests-v2/cypress/fixtures/routing.json
new file mode 100644
index 0000000000..d8d5ee27ca
--- /dev/null
+++ b/cypress-tests-v2/cypress/fixtures/routing.json
@@ -0,0 +1,15 @@
+{
+ "routing_create": {
+ "name": "",
+ "description": "",
+ "algorithm": {
+ "type": "",
+ "data": {}
+ },
+ "profile_id": "{{profile_id}}"
+ },
+ "routing_activate": {
+ "routing_algorithm_id": ""
+ },
+ "default_fallback_update": []
+}
diff --git a/cypress-tests-v2/cypress/support/commands.js b/cypress-tests-v2/cypress/support/commands.js
new file mode 100644
index 0000000000..d0a90d4106
--- /dev/null
+++ b/cypress-tests-v2/cypress/support/commands.js
@@ -0,0 +1,1247 @@
+// ***********************************************
+// This example commands.js shows you how to
+// create various custom commands and overwrite
+// existing commands.
+//
+// For more comprehensive examples of custom
+// commands please read more here:
+// https://on.cypress.io/custom-commands
+// ***********************************************
+//
+//
+// -- This is a parent command --
+// Cypress.Commands.add('login', (email, password) => { ... })
+//
+//
+// -- This is a child command --
+// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
+//
+//
+// -- This is a dual command --
+// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
+//
+//
+// -- This will overwrite an existing command --
+// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
+
+// cy.task can only be used in support files (spec files or commands file)
+
+import {
+ getValueByKey,
+ isoTimeTomorrow,
+} from "../e2e/configs/Payment/Utils.js";
+
+function logRequestId(xRequestId) {
+ if (xRequestId) {
+ cy.task("cli_log", "x-request-id: " + xRequestId);
+ } else {
+ cy.task("cli_log", "x-request-id is unavailable in the response headers");
+ }
+}
+
+// Organization API calls
+Cypress.Commands.add(
+ "organizationCreateCall",
+ (organizationCreateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const url = `${base_url}/v2/organization`;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ body: organizationCreateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("organization_id")
+ .and.to.include("org_")
+ .and.to.be.a("string").and.not.be.empty;
+ globalState.set("organizationId", response.body.organization_id);
+ cy.task("setGlobalState", globalState.data);
+ expect(response.body).to.have.property("metadata").and.to.equal(null);
+ } else {
+ // to be updated
+ throw new Error(
+ `Organization create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add("organizationRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const organization_id = globalState.get("organizationId");
+ const url = `${base_url}/v2/organization/${organization_id}`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("organization_id")
+ .and.to.include("org_")
+ .and.to.be.a("string").and.not.be.empty;
+ expect(response.body.organization_name)
+ .to.have.include("Hyperswitch")
+ .and.to.be.a("string").and.not.be.empty;
+
+ if (organization_id === undefined || organization_id === null) {
+ globalState.set("organizationId", response.body.organization_id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Organization retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add(
+ "organizationUpdateCall",
+ (organizationUpdateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const organization_id = globalState.get("organizationId");
+ const url = `${base_url}/v2/organization/${organization_id}`;
+
+ cy.request({
+ method: "PUT",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ body: organizationUpdateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("organization_id")
+ .and.to.include("org_")
+ .and.to.be.a("string").and.not.be.empty;
+ expect(response.body).to.have.property("metadata").and.to.be.a("object")
+ .and.not.be.empty;
+
+ if (organization_id === undefined || organization_id === null) {
+ globalState.set("organizationId", response.body.organization_id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Organization update call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+
+// Merchant account API calls
+Cypress.Commands.add(
+ "merchantAccountCreateCall",
+ (merchantAccountCreateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const organization_id = globalState.get("organizationId");
+ const url = `${base_url}/v2/accounts`;
+
+ const merchant_name = merchantAccountCreateBody.merchant_name
+ .replaceAll(" ", "")
+ .toLowerCase();
+
+ // Update request body
+ merchantAccountCreateBody.organization_id = organization_id;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ body: merchantAccountCreateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("id")
+ .and.to.include(`${merchant_name}_`)
+ .and.to.be.a("string").and.not.be.empty;
+
+ if (base_url.includes("sandbox") || base_url.includes("integ"))
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_snd").and.to.not.be.empty;
+ else if (base_url.includes("localhost"))
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_dev").and.to.not.be.empty;
+
+ globalState.set("merchantId", response.body.id);
+ globalState.set("publishableKey", response.body.publishable_key);
+
+ cy.task("setGlobalState", globalState.data);
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add("merchantAccountRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/accounts/${merchant_id}`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.have.property("id").and.to.be.a("string").and.not
+ .be.empty;
+
+ if (base_url.includes("sandbox") || base_url.includes("integ"))
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_snd").and.to.not.be.empty;
+ else
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_dev").and.to.not.be.empty;
+
+ if (merchant_id === undefined || merchant_id === null) {
+ globalState.set("merchantId", response.body.id);
+ globalState.set("publishableKey", response.body.publishable_key);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add(
+ "merchantAccountUpdateCall",
+ (merchantAccountUpdateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/accounts/${merchant_id}`;
+
+ const merchant_name = merchantAccountUpdateBody.merchant_name;
+
+ cy.request({
+ method: "PUT",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ },
+ body: merchantAccountUpdateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.id).to.equal(merchant_id);
+
+ if (base_url.includes("sandbox") || base_url.includes("integ"))
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_snd").and.to.not.be.empty;
+ else
+ expect(response.body)
+ .to.have.property("publishable_key")
+ .and.to.include("pk_dev").and.to.not.be.empty;
+ expect(response.body.merchant_name).to.equal(merchant_name);
+
+ if (merchant_id === undefined || merchant_id === null) {
+ globalState.set("merchantId", response.body.id);
+ globalState.set("publishableKey", response.body.publishable_key);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant update call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+
+// Business profile API calls
+Cypress.Commands.add(
+ "businessProfileCreateCall",
+ (businessProfileCreateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/profiles`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: businessProfileCreateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+ expect(response.body.id).to.include("pro_").and.to.not.be.empty;
+ expect(response.body.profile_name).to.equal(
+ businessProfileCreateBody.profile_name
+ );
+
+ globalState.set("profileId", response.body.id);
+
+ cy.task("setGlobalState", globalState.data);
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant update call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add("businessProfileRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/profiles/${profile_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+ expect(response.body.id).to.include("pro_").and.to.not.be.empty;
+
+ if (profile_id === undefined || profile_id === null) {
+ globalState.set("profileId", response.body.id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant update call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add(
+ "businessProfileUpdateCall",
+ (businessProfileUpdateBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/profiles/${profile_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "PUT",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: businessProfileUpdateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+ expect(response.body.id).to.include("pro_").and.to.not.be.empty;
+ expect(response.body.profile_name).to.equal(
+ businessProfileUpdateBody.profile_name
+ );
+
+ if (profile_id === undefined || profile_id === null) {
+ globalState.set("profileId", response.body.id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Merchant update call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+
+// Merchant Connector Account API calls
+// Payments API calls
+Cypress.Commands.add(
+ "mcaCreateCall",
+ (
+ connectorLabel,
+ connectorName,
+ connectorType,
+ globalState,
+ mcaCreateBody,
+ paymentMethodsEnabled
+ ) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/connector_accounts`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ // Update request body
+ mcaCreateBody.profile_id = profile_id;
+ mcaCreateBody.connector_label = connectorLabel;
+ mcaCreateBody.connector_name = connectorName;
+ mcaCreateBody.connector_type = connectorType;
+ mcaCreateBody.payment_methods_enabled = paymentMethodsEnabled;
+
+ // readFile is used to read the contents of the file and it always returns a promise ([Object Object]) due to its asynchronous nature
+ // it is best to use then() to handle the response within the same block of code
+ cy.readFile(globalState.get("connectorAuthFilePath")).then(
+ (jsonContent) => {
+ const jsonString = JSON.stringify(jsonContent);
+ const key =
+ connectorType === "payment_processor"
+ ? connectorName
+ : `${connectorName}_payout`;
+ const authDetails = getValueByKey(jsonString, key);
+
+ mcaCreateBody.connector_account_details =
+ authDetails.connector_account_details;
+
+ if (authDetails && authDetails.metadata) {
+ createConnectorBody.metadata = {
+ ...createConnectorBody.metadata, // Preserve existing metadata fields
+ ...authDetails.metadata, // Merge with authDetails.metadata
+ };
+ }
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: mcaCreateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.connector_name).to.equal(connectorName);
+ expect(response.body.id).to.include("mca_").and.to.not.be.empty;
+ expect(response.body.status).to.equal("active");
+ expect(response.body.profile_id).to.equal(profile_id);
+
+ globalState.set("merchantConnectorId", response.body.id);
+
+ cy.task("setGlobalState", globalState.data);
+ } else {
+ // to be updated
+ throw new Error(
+ `MCA create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+ );
+ }
+);
+Cypress.Commands.add("mcaRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const connector_name = globalState.get("connectorId");
+ const merchant_connector_id = globalState.get("merchantConnectorId");
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/connector_accounts/${merchant_connector_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.connector_name).to.equal(connector_name);
+ expect(response.body.id).to.include("mca_").and.to.not.be.empty;
+ expect(response.body.status).to.equal("active");
+
+ if (
+ merchant_connector_id === undefined ||
+ merchant_connector_id === null
+ ) {
+ globalState.set("merchantConnectorId", response.body.id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `MCA create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add(
+ "mcaUpdateCall",
+ (
+ connectorLabel,
+ connectorName,
+ connectorType,
+ globalState,
+ mcaUpdateBody,
+ paymentMethodsEnabled
+ ) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_connector_id = globalState.get("merchantConnectorId");
+ const merchant_id = globalState.get("merchantId");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/connector_accounts/${merchant_connector_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ // Update request body
+ mcaUpdateBody.merchant_id = merchant_id;
+ mcaUpdateBody.connector_label = connectorLabel;
+ mcaUpdateBody.connector_type = connectorType;
+ mcaUpdateBody.payment_methods_enabled = paymentMethodsEnabled;
+
+ cy.request({
+ method: "PUT",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: mcaUpdateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.connector_name).to.equal(connectorName);
+ expect(response.body.id).to.include("mca_").and.to.not.be.empty;
+ expect(response.body.status).to.equal("active");
+ expect(response.body.profile_id).to.equal(profile_id);
+ expect(
+ response.body.connector_webhook_details.merchant_secret
+ ).to.equal(mcaUpdateBody.connector_webhook_details.merchant_secret);
+
+ if (
+ merchant_connector_id === undefined ||
+ merchant_connector_id === null
+ ) {
+ globalState.set("merchantConnectorId", response.body.id);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `MCA create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+
+// API Key API calls
+Cypress.Commands.add("apiKeyCreateCall", (apiKeyCreateBody, globalState) => {
+ // Define the necessary variables and constant
+
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ // We do not want to keep API Key forever,
+ // so we set the expiry to tomorrow as new merchant accounts are created with every run
+ const expiry = isoTimeTomorrow();
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/api_keys`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ // Update request body
+ apiKeyCreateBody.expiration = expiry;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: apiKeyCreateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+ expect(response.body.description).to.equal(apiKeyCreateBody.description);
+
+ // API Key assertions are intentionally excluded to avoid being exposed in the logs
+ if (base_url.includes("sandbox") || base_url.includes("integ")) {
+ expect(response.body).to.have.property("key_id").and.to.include("snd_")
+ .and.to.not.be.empty;
+ } else if (base_url.includes("localhost")) {
+ expect(response.body).to.have.property("key_id").and.to.include("dev_")
+ .and.to.not.be.empty;
+ }
+
+ globalState.set("apiKeyId", response.body.key_id);
+ globalState.set("apiKey", response.body.api_key);
+
+ cy.task("setGlobalState", globalState.data);
+ } else {
+ // to be updated
+ throw new Error(
+ `API Key create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("apiKeyRetrieveCall", (globalState) => {
+ // Define the necessary variables and constant
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const api_key_id = globalState.get("apiKeyId");
+ const url = `${base_url}/v2/api_keys/${api_key_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+
+ // API Key assertions are intentionally excluded to avoid being exposed in the logs
+ if (base_url.includes("sandbox") || base_url.includes("integ")) {
+ expect(response.body).to.have.property("key_id").and.to.include("snd_")
+ .and.to.not.be.empty;
+ } else if (base_url.includes("localhost")) {
+ expect(response.body).to.have.property("key_id").and.to.include("dev_")
+ .and.to.not.be.empty;
+ }
+
+ if (api_key === undefined || api_key === null) {
+ globalState.set("apiKey", response.body.api_key);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `API Key create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("apiKeyUpdateCall", (apiKeyUpdateBody, globalState) => {
+ // Define the necessary variables and constant
+ const api_key = globalState.get("adminApiKey");
+ const api_key_id = globalState.get("apiKeyId");
+ const base_url = globalState.get("baseUrl");
+ // We do not want to keep API Key forever,
+ // so we set the expiry to tomorrow as new merchant accounts are created with every run
+ const expiry = isoTimeTomorrow();
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/api_keys/${api_key_id}`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ // Update request body
+ apiKeyUpdateBody.expiration = expiry;
+
+ cy.request({
+ method: "PUT",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ "api-key": api_key,
+ ...customHeaders,
+ },
+ body: apiKeyUpdateBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body.merchant_id).to.equal(merchant_id);
+ expect(response.body.description).to.equal(apiKeyUpdateBody.description);
+
+ // API Key assertions are intentionally excluded to avoid being exposed in the logs
+ if (base_url.includes("sandbox") || base_url.includes("integ")) {
+ expect(response.body).to.have.property("key_id").and.to.include("snd_")
+ .and.to.not.be.empty;
+ } else if (base_url.includes("localhost")) {
+ expect(response.body).to.have.property("key_id").and.to.include("dev_")
+ .and.to.not.be.empty;
+ }
+
+ if (api_key === undefined || api_key === null) {
+ globalState.set("apiKey", response.body.api_key);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `API Key create call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+
+// Routing API calls
+Cypress.Commands.add(
+ "routingSetupCall",
+ (routingSetupBody, type, payload, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/routing_algorithm`;
+
+ // Update request body
+ routingSetupBody.algorithm.data = payload.data;
+ routingSetupBody.algorithm.type = type;
+ routingSetupBody.description = payload.description;
+ routingSetupBody.name = payload.name;
+ routingSetupBody.profile_id = profile_id;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ body: routingSetupBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.have.property("id").and.to.include("routing_");
+ expect(response.body).to.have.property("kind").and.to.equal(type);
+ expect(response.body)
+ .to.have.property("profile_id")
+ .and.to.equal(profile_id);
+
+ globalState.set("routingAlgorithmId", response.body.id);
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm setup call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add(
+ "routingActivateCall",
+ (routingActivationBody, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const routing_algorithm_id = globalState.get("routingAlgorithmId");
+ const url = `${base_url}/v2/profiles/${profile_id}/activate_routing_algorithm`;
+
+ // Update request body
+ routingActivationBody.routing_algorithm_id = routing_algorithm_id;
+
+ cy.request({
+ method: "PATCH",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ body: routingActivationBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.have.property("id").and.to.include("routing_");
+ expect(response.body)
+ .to.have.property("profile_id")
+ .and.to.equal(profile_id);
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm activation call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add("routingActivationRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const query_params = "limit=10";
+ const routing_algorithm_id = globalState.get("routingAlgorithmId");
+ const url = `${base_url}/v2/profiles/${profile_id}/routing_algorithm?${query_params}`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.be.an("array").and.to.not.be.empty;
+ for (const key in response.body) {
+ expect(response.body[key])
+ .to.have.property("id")
+ .and.to.include("routing_");
+ expect(response.body[key])
+ .to.have.property("profile_id")
+ .and.to.equal(profile_id);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm activation retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("routingDeactivateCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const routing_algorithm_id = globalState.get("routingAlgorithmId");
+ const url = `${base_url}/v2/profiles/${profile_id}/deactivate_routing_algorithm`;
+
+ cy.request({
+ method: "PATCH",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("id")
+ .and.to.include("routing_")
+ .and.to.equal(routing_algorithm_id);
+ expect(response.body)
+ .to.have.property("profile_id")
+ .and.to.equal(profile_id);
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm deactivation call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("routingRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const routing_algorithm_id = globalState.get("routingAlgorithmId");
+ const url = `${base_url}/v2/routing_algorithm/${routing_algorithm_id}`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body)
+ .to.have.property("id")
+ .and.to.include("routing_")
+ .and.to.equal(routing_algorithm_id);
+ expect(response.body)
+ .to.have.property("profile_id")
+ .and.to.equal(profile_id);
+ expect(response.body).to.have.property("algorithm").and.to.be.a("object")
+ .and.not.be.empty;
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm activation retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add(
+ "routingDefaultFallbackCall",
+ (routingDefaultFallbackBody, payload, globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const routing_algorithm_id = globalState.get("routingAlgorithmId");
+ const url = `${base_url}/v2/profiles/${profile_id}/fallback_routing`;
+
+ // Update request body
+ routingDefaultFallbackBody = payload;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ body: routingDefaultFallbackBody,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.deep.equal(routingDefaultFallbackBody);
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm activation retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+ }
+);
+Cypress.Commands.add("routingFallbackRetrieveCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("userInfoToken");
+ const base_url = globalState.get("baseUrl");
+ const profile_id = globalState.get("profileId");
+ const url = `${base_url}/v2/profiles/${profile_id}/fallback_routing`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.be.an("array").and.to.not.be.empty;
+ } else {
+ // to be updated
+ throw new Error(
+ `Routing algorithm activation retrieve call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+
+// User API calls
+// Below 3 commands should be called in sequence to login a user
+Cypress.Commands.add("userLogin", (globalState) => {
+ // Define the necessary variables and constant
+ const base_url = globalState.get("baseUrl");
+ const query_params = `token_only=true`;
+ const signin_body = {
+ email: `${globalState.get("email")}`,
+ password: `${globalState.get("password")}`,
+ };
+ const url = `${base_url}/user/v2/signin?${query_params}`;
+
+ cy.request({
+ method: "POST",
+ url: url,
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: signin_body,
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ if (response.body.token_type === "totp") {
+ expect(response.body).to.have.property("token").and.to.not.be.empty;
+
+ globalState.set("totpToken", response.body.token);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `User login call failed to get totp token with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("terminate2Fa", (globalState) => {
+ // Define the necessary variables and constant
+ const base_url = globalState.get("baseUrl");
+ const query_params = `skip_two_factor_auth=true`;
+ const api_key = globalState.get("totpToken");
+ const url = `${base_url}/user/2fa/terminate?${query_params}`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ if (response.body.token_type === "user_info") {
+ expect(response.body).to.have.property("token").and.to.not.be.empty;
+
+ globalState.set("userInfoToken", response.body.token);
+ cy.task("setGlobalState", globalState.data);
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `2FA terminate call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+Cypress.Commands.add("userInfo", (globalState) => {
+ // Define the necessary variables and constant
+ const base_url = globalState.get("baseUrl");
+ const api_key = globalState.get("userInfoToken");
+ const url = `${base_url}/user`;
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ Authorization: `Bearer ${api_key}`,
+ "Content-Type": "application/json",
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ expect(response.body).to.have.property("merchant_id").and.to.not.be.empty;
+ expect(response.body).to.have.property("org_id").and.to.not.be.empty;
+ expect(response.body).to.have.property("profile_id").and.to.not.be.empty;
+
+ globalState.set("merchantId", response.body.merchant_id);
+ globalState.set("organizationId", response.body.org_id);
+ globalState.set("profileId", response.body.profile_id);
+ } else {
+ // to be updated
+ throw new Error(
+ `User login call failed to fetch user info with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+
+// List API calls
+Cypress.Commands.add("listMcaCall", (globalState) => {
+ // Define the necessary variables and constants
+ const api_key = globalState.get("adminApiKey");
+ const base_url = globalState.get("baseUrl");
+ const merchant_id = globalState.get("merchantId");
+ const url = `${base_url}/v2/account/${merchant_id}/connectors`;
+
+ const customHeaders = {
+ "x-merchant-id": merchant_id,
+ };
+
+ cy.request({
+ method: "GET",
+ url: url,
+ headers: {
+ "api-key": api_key,
+ "Content-Type": "application/json",
+ ...customHeaders,
+ },
+ failOnStatusCode: false,
+ }).then((response) => {
+ logRequestId(response.headers["x-request-id"]);
+
+ if (response.status === 200) {
+ // Control never comes here until the API endpoints are introduced
+ console.log("List MCA call successful");
+ globalState.set(
+ "adyenMerchantConnectorId",
+ response.body[2].merchant_connector_id
+ );
+ globalState.set(
+ "bluesnapMerchantConnectorId",
+ response.body[0].merchant_connector_id
+ );
+ globalState.set(
+ "stripeMerchantConnectorId",
+ response.body[1].merchant_connector_id
+ );
+ } else if (response.status === 404) {
+ expect(response.body.error)
+ .to.have.property("message")
+ .and.to.equal("Unrecognized request URL");
+ expect(response.body.error)
+ .to.have.property("type")
+ .and.to.equal("invalid_request");
+
+ // hard code MCA values for now
+ if (base_url.includes("integ")) {
+ globalState.set("adyenMerchantConnectorId", "mca_YOGOW6CdrjudsT9Mvg7w");
+ globalState.set(
+ "bluesnapMerchantConnectorId",
+ "mca_cdKJoouwpmkHqwVJ1bzV"
+ );
+ globalState.set(
+ "stripeMerchantConnectorId",
+ "mca_KyxoOnfLXWE1hzPSsl9H"
+ );
+ }
+ } else {
+ // to be updated
+ throw new Error(
+ `MCA list call failed with status ${response.status} and message ${response.body.message}`
+ );
+ }
+ });
+});
+// templates
+Cypress.Commands.add("", () => {
+ cy.request({}).then((response) => {});
+});
+Cypress.Commands.add("", () => {
+ cy.request({}).then((response) => {});
+});
+Cypress.Commands.add("", () => {
+ cy.request({}).then((response) => {});
+});
diff --git a/cypress-tests-v2/cypress/support/e2e.js b/cypress-tests-v2/cypress/support/e2e.js
new file mode 100644
index 0000000000..a3e0203027
--- /dev/null
+++ b/cypress-tests-v2/cypress/support/e2e.js
@@ -0,0 +1,21 @@
+// ***********************************************************
+// This example support/e2e.js is processed and
+// loaded automatically before your test files.
+//
+// This is a great place to put global configuration and
+// behavior that modifies Cypress.
+//
+// You can change the location of this file or turn off
+// automatically serving support files with the
+// 'supportFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/configuration
+// ***********************************************************
+
+// Import commands.js using ES2015 syntax:
+import "cypress-mochawesome-reporter/register";
+import "./commands";
+
+// Alternatively you can use CommonJS syntax:
+// require('./commands')
diff --git a/cypress-tests-v2/cypress/support/redirectionHandler.js b/cypress-tests-v2/cypress/support/redirectionHandler.js
new file mode 100644
index 0000000000..6540632c89
--- /dev/null
+++ b/cypress-tests-v2/cypress/support/redirectionHandler.js
@@ -0,0 +1,476 @@
+import jsQR from "jsqr";
+
+// Define constants for wait times
+const TIMEOUT = 20000; // 20 seconds
+const WAIT_TIME = 10000; // 10 seconds
+const WAIT_TIME_IATAPAY = 20000; // 20 seconds
+
+export function handleRedirection(
+ redirection_type,
+ urls,
+ connectorId,
+ payment_method_type,
+ handler_metadata
+) {
+ switch (redirection_type) {
+ case "bank_redirect":
+ bankRedirectRedirection(
+ urls.redirection_url,
+ urls.expected_url,
+ connectorId,
+ payment_method_type
+ );
+ break;
+ case "bank_transfer":
+ bankTransferRedirection(
+ urls.redirection_url,
+ urls.expected_url,
+ connectorId,
+ payment_method_type,
+ handler_metadata.next_action_type
+ );
+ break;
+ case "three_ds":
+ threeDsRedirection(urls.redirection_url, urls.expected_url, connectorId);
+ break;
+ case "upi":
+ upiRedirection(
+ urls.redirection_url,
+ urls.expected_url,
+ connectorId,
+ payment_method_type
+ );
+ break;
+ default:
+ throw new Error(`Redirection known: ${redirection_type}`);
+ }
+}
+
+function bankTransferRedirection(
+ redirection_url,
+ expected_url,
+ connectorId,
+ payment_method_type,
+ next_action_type
+) {
+ switch (next_action_type) {
+ case "qr_code_url":
+ cy.request(redirection_url.href).then((response) => {
+ switch (connectorId) {
+ case "adyen":
+ switch (payment_method_type) {
+ case "pix":
+ expect(response.status).to.eq(200);
+ fetchAndParseQRCode(redirection_url.href).then((qrCodeData) => {
+ expect(qrCodeData).to.eq("TestQRCodeEMVToken");
+ });
+ break;
+ default:
+ verifyReturnUrl(redirection_url, expected_url, true);
+ // expected_redirection can be used here to handle other payment methods
+ }
+ break;
+ default:
+ verifyReturnUrl(redirection_url, expected_url, true);
+ }
+ });
+ break;
+ case "image_data_url":
+ switch (connectorId) {
+ case "itaubank":
+ switch (payment_method_type) {
+ case "pix":
+ fetchAndParseImageData(redirection_url).then((qrCodeData) => {
+ expect(qrCodeData).to.contains("itau.com.br/pix/qr/v2"); // image data contains the following value
+ });
+ break;
+ default:
+ verifyReturnUrl(redirection_url, expected_url, true);
+ }
+ break;
+ default:
+ verifyReturnUrl(redirection_url, expected_url, true);
+ }
+ break;
+ default:
+ verifyReturnUrl(redirection_url, expected_url, true);
+ }
+}
+
+function bankRedirectRedirection(
+ redirection_url,
+ expected_url,
+ connectorId,
+ payment_method_type
+) {
+ let verifyUrl = false;
+ cy.visit(redirection_url.href);
+
+ switch (connectorId) {
+ case "adyen":
+ switch (payment_method_type) {
+ case "eps":
+ cy.get("h1").should("contain.text", "Acquirer Simulator");
+ cy.get('[value="authorised"]').click();
+ cy.url().should("include", "status=succeeded");
+ cy.wait(5000);
+ break;
+ case "ideal":
+ cy.get(":nth-child(4) > td > p").should(
+ "contain.text",
+ "Your Payment was Authorised/Refused/Cancelled (It may take up to five minutes to show on the Payment List)"
+ );
+ cy.get(".btnLink").click();
+ cy.url().should("include", "status=succeeded");
+ cy.wait(5000);
+ break;
+ case "giropay":
+ cy.get(
+ ".rds-cookies-overlay__allow-all-cookies-btn > .rds-button"
+ ).click();
+ cy.wait(5000);
+ cy.get(".normal-3").should(
+ "contain.text",
+ "Bank suchen ‑ mit giropay zahlen."
+ );
+ cy.get("#bankSearch").type("giropay TestBank{enter}");
+ cy.get(".normal-2 > div").click();
+ cy.get('[data-testid="customerIban"]').type("DE48499999601234567890");
+ cy.get('[data-testid="customerIdentification"]').type("9123456789");
+ cy.get(":nth-child(3) > .rds-button").click();
+ cy.get('[data-testid="onlineBankingPin"]').type("1234");
+ cy.get(".rds-button--primary").click();
+ cy.get(":nth-child(5) > .rds-radio-input-group__label").click();
+ cy.get(".rds-button--primary").click();
+ cy.get('[data-testid="photoTan"]').type("123456");
+ cy.get(".rds-button--primary").click();
+ cy.wait(5000);
+ cy.url().should("include", "status=succeeded");
+ cy.wait(5000);
+ break;
+ case "sofort":
+ cy.get(".modal-overlay.modal-shown.in", { timeout: TIMEOUT }).then(
+ ($modal) => {
+ // If modal is found, handle it
+ if ($modal.length > 0) {
+ cy.get("button.cookie-modal-deny-all.button-tertiary")
+ .should("be.visible")
+ .should("contain", "Reject All")
+ .click({ force: true, multiple: true });
+ cy.get("div#TopBanks.top-banks-multistep")
+ .should("contain", "Demo Bank")
+ .as("btn")
+ .click();
+ cy.get("@btn").click();
+ } else {
+ cy.get("input.phone").type("9123456789");
+ cy.get("#button.onContinue")
+ .should("contain", "Continue")
+ .click();
+ }
+ }
+ );
+ break;
+ case "trustly":
+ break;
+ default:
+ throw new Error(
+ `Unsupported payment method type: ${payment_method_type}`
+ );
+ }
+ verifyUrl = true;
+ break;
+ case "paypal":
+ switch (payment_method_type) {
+ case "eps":
+ cy.get('button[name="Successful"][value="SUCCEEDED"]').click();
+ break;
+ case "ideal":
+ cy.get('button[name="Successful"][value="SUCCEEDED"]').click();
+ break;
+ case "giropay":
+ cy.get('button[name="Successful"][value="SUCCEEDED"]').click();
+ break;
+ default:
+ throw new Error(
+ `Unsupported payment method type: ${payment_method_type}`
+ );
+ }
+ verifyUrl = true;
+ break;
+ case "stripe":
+ switch (payment_method_type) {
+ case "eps":
+ cy.get('a[name="success"]').click();
+ break;
+ case "ideal":
+ cy.get('a[name="success"]').click();
+ break;
+ case "giropay":
+ cy.get('a[name="success"]').click();
+ break;
+ case "sofort":
+ cy.get('a[name="success"]').click();
+ break;
+ case "przelewy24":
+ cy.get('a[name="success"]').click();
+ break;
+ default:
+ throw new Error(
+ `Unsupported payment method type: ${payment_method_type}`
+ );
+ }
+ verifyUrl = true;
+ break;
+ case "trustpay":
+ switch (payment_method_type) {
+ case "eps":
+ cy.get("._transactionId__header__iXVd_").should(
+ "contain.text",
+ "Bank suchen ‑ mit eps zahlen."
+ );
+ cy.get(".BankSearch_searchInput__uX_9l").type(
+ "Allgemeine Sparkasse Oberösterreich Bank AG{enter}"
+ );
+ cy.get(".BankSearch_searchResultItem__lbcKm").click();
+ cy.get("._transactionId__primaryButton__nCa0r").click();
+ cy.get("#loginTitle").should(
+ "contain.text",
+ "eps Online-Überweisung Login"
+ );
+ cy.get("#user")
+ .should("be.visible")
+ .should("be.enabled")
+ .focus()
+ .type("Verfügernummer");
+ cy.get("input#submitButton.btn.btn-primary").click();
+ break;
+ case "ideal":
+ cy.contains("button", "Select your bank").click();
+ cy.get(
+ 'button[data-testid="bank-item"][id="bank-item-INGBNL2A"]'
+ ).click();
+ break;
+ case "giropay":
+ cy.get("._transactionId__header__iXVd_").should(
+ "contain.text",
+ "Bank suchen ‑ mit giropay zahlen."
+ );
+ cy.get(".BankSearch_searchInput__uX_9l").type(
+ "Volksbank Hildesheim{enter}"
+ );
+ cy.get(".BankSearch_searchIcon__EcVO7").click();
+ cy.get(".BankSearch_bankWrapper__R5fUK").click();
+ cy.get("._transactionId__primaryButton__nCa0r").click();
+ cy.get(".normal-3").should("contain.text", "Kontoauswahl");
+ break;
+ case "sofort":
+ break;
+ case "trustly":
+ break;
+ default:
+ throw new Error(
+ `Unsupported payment method type: ${payment_method_type}`
+ );
+ }
+ verifyUrl = false;
+ break;
+ default:
+ throw new Error(`Unsupported connector: ${connectorId}`);
+ }
+
+ cy.then(() => {
+ verifyReturnUrl(redirection_url, expected_url, verifyUrl);
+ });
+}
+
+function threeDsRedirection(redirection_url, expected_url, connectorId) {
+ cy.visit(redirection_url.href);
+ if (connectorId === "adyen") {
+ cy.get("iframe")
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get('input[type="password"]').click();
+ cy.get('input[type="password"]').type("password");
+ cy.get("#buttonSubmit").click();
+ });
+ } else if (
+ connectorId === "bankofamerica" ||
+ connectorId === "cybersource" ||
+ connectorId === "wellsfargo"
+ ) {
+ cy.get("iframe", { timeout: TIMEOUT })
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get('input[type="text"]').click().type("1234");
+ cy.get('input[value="SUBMIT"]').click();
+ });
+ } else if (connectorId === "nmi" || connectorId === "noon") {
+ cy.get("iframe", { timeout: TIMEOUT })
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get("iframe", { timeout: TIMEOUT })
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get('form[name="cardholderInput"]', { timeout: TIMEOUT })
+ .should("exist")
+ .then((form) => {
+ cy.get('input[name="challengeDataEntry"]').click().type("1234");
+ cy.get('input[value="SUBMIT"]').click();
+ });
+ });
+ });
+ } else if (connectorId === "stripe") {
+ cy.get("iframe", { timeout: TIMEOUT })
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get("iframe")
+ .its("0.contentDocument.body")
+ .within((body) => {
+ cy.get("#test-source-authorize-3ds").click();
+ });
+ });
+ } else if (connectorId === "trustpay") {
+ cy.get('form[name="challengeForm"]', { timeout: WAIT_TIME })
+ .should("exist")
+ .then((form) => {
+ cy.get("#outcomeSelect").select("Approve").should("have.value", "Y");
+ cy.get('button[type="submit"]').click();
+ });
+ } else {
+ // If connectorId is neither of adyen, trustpay, nmi, stripe, bankofamerica or cybersource, wait for 10 seconds
+ cy.wait(WAIT_TIME);
+ }
+
+ cy.then(() => {
+ verifyReturnUrl(redirection_url, expected_url, true);
+ });
+}
+
+function upiRedirection(
+ redirection_url,
+ expected_url,
+ connectorId,
+ payment_method_type
+) {
+ let verifyUrl = false;
+ if (connectorId === "iatapay") {
+ switch (payment_method_type) {
+ case "upi_collect":
+ cy.visit(redirection_url.href);
+ cy.wait(WAIT_TIME_IATAPAY).then(() => {
+ verifyUrl = true;
+ });
+ break;
+ case "upi_intent":
+ cy.request(redirection_url.href).then((response) => {
+ expect(response.status).to.eq(200);
+ expect(response.body).to.have.property("iataPaymentId");
+ expect(response.body).to.have.property("status", "INITIATED");
+ expect(response.body.qrInfoData).to.be.an("object");
+ expect(response.body.qrInfoData).to.have.property("qr");
+ expect(response.body.qrInfoData).to.have.property("qrLink");
+ });
+ verifyUrl = false;
+ break;
+ default:
+ throw new Error(
+ `Unsupported payment method type: ${payment_method_type}`
+ );
+ }
+ } else {
+ // If connectorId is not iatapay, wait for 10 seconds
+ cy.wait(WAIT_TIME);
+ }
+
+ cy.then(() => {
+ verifyReturnUrl(redirection_url, expected_url, verifyUrl);
+ });
+}
+
+function verifyReturnUrl(redirection_url, expected_url, forward_flow) {
+ if (forward_flow) {
+ // Handling redirection
+ if (redirection_url.host.endsWith(expected_url.host)) {
+ // No CORS workaround needed
+ cy.window().its("location.origin").should("eq", expected_url.origin);
+ } else {
+ // Workaround for CORS to allow cross-origin iframe
+ cy.origin(
+ expected_url.origin,
+ { args: { expected_url: expected_url.origin } },
+ ({ expected_url }) => {
+ cy.window().its("location.origin").should("eq", expected_url);
+ }
+ );
+ }
+ }
+}
+
+async function fetchAndParseQRCode(url) {
+ const response = await fetch(url, { encoding: "binary" });
+ if (!response.ok) {
+ throw new Error(`Failed to fetch QR code image: ${response.statusText}`);
+ }
+ const blob = await response.blob();
+ const reader = new FileReader();
+ return await new Promise((resolve, reject) => {
+ reader.onload = () => {
+ const base64Image = reader.result.split(",")[1]; // Remove data URI prefix
+ const image = new Image();
+ image.src = base64Image;
+
+ image.onload = () => {
+ const canvas = document.createElement("canvas");
+ const ctx = canvas.getContext("2d");
+ canvas.width = image.width;
+ canvas.height = image.height;
+ ctx.drawImage(image, 0, 0);
+
+ const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
+ const qrCodeData = jsQR(
+ imageData.data,
+ imageData.width,
+ imageData.height
+ );
+
+ if (qrCodeData) {
+ resolve(qrCodeData.data);
+ } else {
+ reject(new Error("Failed to decode QR code"));
+ }
+ };
+ image.onerror = reject; // Handle image loading errors
+ };
+ reader.readAsDataURL(blob);
+ });
+}
+
+async function fetchAndParseImageData(url) {
+ return await new Promise((resolve, reject) => {
+ const image = new Image();
+ image.src = url;
+
+ image.onload = () => {
+ const canvas = document.createElement("canvas");
+ const ctx = canvas.getContext("2d");
+ canvas.width = image.width;
+ canvas.height = image.height;
+ ctx.drawImage(image, 0, 0);
+
+ const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
+ const qrCodeData = jsQR(
+ imageData.data,
+ imageData.width,
+ imageData.height
+ );
+
+ if (qrCodeData) {
+ resolve(qrCodeData.data);
+ } else {
+ reject(new Error("Failed to decode QR code"));
+ }
+ };
+ image.onerror = reject; // Handle image loading errors
+ });
+}
diff --git a/cypress-tests-v2/cypress/utils/State.js b/cypress-tests-v2/cypress/utils/State.js
new file mode 100644
index 0000000000..84f96c0bda
--- /dev/null
+++ b/cypress-tests-v2/cypress/utils/State.js
@@ -0,0 +1,24 @@
+class State {
+ data = {};
+ constructor(data) {
+ this.data = data;
+ this.data["connectorId"] = Cypress.env("CONNECTOR");
+ this.data["baseUrl"] = Cypress.env("BASEURL");
+ this.data["adminApiKey"] = Cypress.env("ADMINAPIKEY");
+ this.data["email"] = Cypress.env("HS_EMAIL");
+ this.data["password"] = Cypress.env("HS_PASSWORD");
+ this.data["connectorAuthFilePath"] = Cypress.env(
+ "CONNECTOR_AUTH_FILE_PATH"
+ );
+ }
+
+ set(key, val) {
+ this.data[key] = val;
+ }
+
+ get(key) {
+ return this.data[key];
+ }
+}
+
+export default State;
diff --git a/cypress-tests-v2/package-lock.json b/cypress-tests-v2/package-lock.json
new file mode 100644
index 0000000000..d9282b8d3c
--- /dev/null
+++ b/cypress-tests-v2/package-lock.json
@@ -0,0 +1,3456 @@
+{
+ "name": "cypress",
+ "version": "1.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "cypress",
+ "version": "1.0.0",
+ "license": "ISC",
+ "devDependencies": {
+ "@types/fs-extra": "^11.0.4",
+ "cypress": "^13.14.2",
+ "cypress-mochawesome-reporter": "^3.8.2",
+ "jsqr": "^1.4.0",
+ "prettier": "^3.3.2"
+ }
+ },
+ "node_modules/@colors/colors": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
+ "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=0.1.90"
+ }
+ },
+ "node_modules/@cypress/request": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.5.tgz",
+ "integrity": "sha512-v+XHd9XmWbufxF1/bTaVm2yhbxY+TB4YtWRqF2zaXBlDNMkls34KiATz0AVDLavL3iB6bQk9/7n3oY1EoLSWGA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "aws-sign2": "~0.7.0",
+ "aws4": "^1.8.0",
+ "caseless": "~0.12.0",
+ "combined-stream": "~1.0.6",
+ "extend": "~3.0.2",
+ "forever-agent": "~0.6.1",
+ "form-data": "~4.0.0",
+ "http-signature": "~1.4.0",
+ "is-typedarray": "~1.0.0",
+ "isstream": "~0.1.2",
+ "json-stringify-safe": "~5.0.1",
+ "mime-types": "~2.1.19",
+ "performance-now": "^2.1.0",
+ "qs": "6.13.0",
+ "safe-buffer": "^5.1.2",
+ "tough-cookie": "^4.1.3",
+ "tunnel-agent": "^0.6.0",
+ "uuid": "^8.3.2"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@cypress/xvfb": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz",
+ "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^3.1.0",
+ "lodash.once": "^4.1.1"
+ }
+ },
+ "node_modules/@cypress/xvfb/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/@types/fs-extra": {
+ "version": "11.0.4",
+ "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz",
+ "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/jsonfile": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/jsonfile": {
+ "version": "6.1.4",
+ "resolved": "https://registry.npmjs.org/@types/jsonfile/-/jsonfile-6.1.4.tgz",
+ "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "22.5.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz",
+ "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~6.19.2"
+ }
+ },
+ "node_modules/@types/sinonjs__fake-timers": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz",
+ "integrity": "sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/sizzle": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz",
+ "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/yauzl": {
+ "version": "2.10.3",
+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
+ "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/aggregate-error": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
+ "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "clean-stack": "^2.0.0",
+ "indent-string": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-colors": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
+ "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/arch": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz",
+ "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0",
+ "peer": true
+ },
+ "node_modules/asn1": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
+ "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": "~2.1.0"
+ }
+ },
+ "node_modules/assert-plus": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
+ "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/astral-regex": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/async": {
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
+ "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/aws-sign2": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+ "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/aws4": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz",
+ "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/bcrypt-pbkdf": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
+ "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tweetnacl": "^0.14.3"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/blob-util": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz",
+ "integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/bluebird": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
+ "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browser-stdout": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
+ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/cachedir": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.4.0.tgz",
+ "integrity": "sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
+ "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/caseless": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
+ "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chalk/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/check-more-types": {
+ "version": "2.24.0",
+ "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz",
+ "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/ci-info": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
+ "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/clean-stack": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "restore-cursor": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cli-table3": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz",
+ "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "string-width": "^4.2.0"
+ },
+ "engines": {
+ "node": "10.* || >= 12.*"
+ },
+ "optionalDependencies": {
+ "@colors/colors": "1.5.0"
+ }
+ },
+ "node_modules/cli-truncate": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz",
+ "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "slice-ansi": "^3.0.0",
+ "string-width": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
+ "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^7.0.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/colorette": {
+ "version": "2.0.20",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
+ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/commander": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz",
+ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/common-tags": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz",
+ "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cypress": {
+ "version": "13.14.2",
+ "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.14.2.tgz",
+ "integrity": "sha512-lsiQrN17vHMB2fnvxIrKLAjOr9bPwsNbPZNrWf99s4u+DVmCY6U+w7O3GGG9FvP4EUVYaDu+guWeNLiUzBrqvA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cypress/request": "^3.0.1",
+ "@cypress/xvfb": "^1.2.4",
+ "@types/sinonjs__fake-timers": "8.1.1",
+ "@types/sizzle": "^2.3.2",
+ "arch": "^2.2.0",
+ "blob-util": "^2.0.2",
+ "bluebird": "^3.7.2",
+ "buffer": "^5.7.1",
+ "cachedir": "^2.3.0",
+ "chalk": "^4.1.0",
+ "check-more-types": "^2.24.0",
+ "cli-cursor": "^3.1.0",
+ "cli-table3": "~0.6.1",
+ "commander": "^6.2.1",
+ "common-tags": "^1.8.0",
+ "dayjs": "^1.10.4",
+ "debug": "^4.3.4",
+ "enquirer": "^2.3.6",
+ "eventemitter2": "6.4.7",
+ "execa": "4.1.0",
+ "executable": "^4.1.1",
+ "extract-zip": "2.0.1",
+ "figures": "^3.2.0",
+ "fs-extra": "^9.1.0",
+ "getos": "^3.2.1",
+ "is-ci": "^3.0.1",
+ "is-installed-globally": "~0.4.0",
+ "lazy-ass": "^1.6.0",
+ "listr2": "^3.8.3",
+ "lodash": "^4.17.21",
+ "log-symbols": "^4.0.0",
+ "minimist": "^1.2.8",
+ "ospath": "^1.2.2",
+ "pretty-bytes": "^5.6.0",
+ "process": "^0.11.10",
+ "proxy-from-env": "1.0.0",
+ "request-progress": "^3.0.0",
+ "semver": "^7.5.3",
+ "supports-color": "^8.1.1",
+ "tmp": "~0.2.3",
+ "untildify": "^4.0.0",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "cypress": "bin/cypress"
+ },
+ "engines": {
+ "node": "^16.0.0 || ^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/cypress-mochawesome-reporter": {
+ "version": "3.8.2",
+ "resolved": "https://registry.npmjs.org/cypress-mochawesome-reporter/-/cypress-mochawesome-reporter-3.8.2.tgz",
+ "integrity": "sha512-oJZkNzhNmN9ZD+LmZyFuPb8aWaIijyHyqYh52YOBvR6B6ckfJNCHP3A98a+/nG0H4t46CKTNwo+wNpMa4d2kjA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "commander": "^10.0.1",
+ "fs-extra": "^10.0.1",
+ "mochawesome": "^7.1.3",
+ "mochawesome-merge": "^4.2.1",
+ "mochawesome-report-generator": "^6.2.0"
+ },
+ "bin": {
+ "generate-mochawesome-report": "cli.js"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/LironEr"
+ },
+ "peerDependencies": {
+ "cypress": ">=6.2.0"
+ }
+ },
+ "node_modules/cypress-mochawesome-reporter/node_modules/commander": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
+ "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/cypress-mochawesome-reporter/node_modules/fs-extra": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
+ "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/dashdash": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
+ "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/dateformat": {
+ "version": "4.6.3",
+ "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz",
+ "integrity": "sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/dayjs": {
+ "version": "1.11.13",
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
+ "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
+ "dev": true,
+ "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,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decamelize": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz",
+ "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/diff": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",
+ "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/ecc-jsbn": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+ "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.1.0"
+ }
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/enquirer": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz",
+ "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-colors": "^4.1.1",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
+ "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "get-intrinsic": "^1.2.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "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"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-html": {
+ "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": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/eventemitter2": {
+ "version": "6.4.7",
+ "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz",
+ "integrity": "sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/execa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.0",
+ "get-stream": "^5.0.0",
+ "human-signals": "^1.1.1",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.0",
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/executable": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz",
+ "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pify": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "extract-zip": "cli.js"
+ },
+ "engines": {
+ "node": ">= 10.17.0"
+ },
+ "optionalDependencies": {
+ "@types/yauzl": "^2.9.1"
+ }
+ },
+ "node_modules/extsprintf": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
+ "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==",
+ "dev": true,
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "license": "MIT"
+ },
+ "node_modules/fd-slicer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
+ "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pend": "~1.2.0"
+ }
+ },
+ "node_modules/figures": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "escape-string-regexp": "^1.0.5"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
+ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "peer": true,
+ "bin": {
+ "flat": "cli.js"
+ }
+ },
+ "node_modules/forever-agent": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
+ "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "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",
+ "integrity": "sha512-xQVsnjJ/5pQtcKh+KjUoZGzVWn4uNkchxTF6Lwjr4Gf7nQr8fmUfhKJ62zE77+xQg9xnxi5KUps7XGs+VC986A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/function-bind": {
+ "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"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
+ "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pump": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/getos": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz",
+ "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "async": "^3.2.0"
+ }
+ },
+ "node_modules/getpass": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
+ "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assert-plus": "^1.0.0"
+ }
+ },
+ "node_modules/glob": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
+ "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^5.0.1",
+ "once": "^1.3.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/global-dirs": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz",
+ "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ini": "2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-define-property": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
+ "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "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"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/http-signature": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.4.0.tgz",
+ "integrity": "sha512-G5akfn7eKbpDN+8nPS/cb57YeA1jLTVxjpCj7tmm3QKPdyDy7T+qSC40e9ptydSWvkwjSXw1VbkpyEm39ukeAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "jsprim": "^2.0.2",
+ "sshpk": "^1.18.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/human-signals": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
+ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8.12.0"
+ }
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "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"
+ },
+ "node_modules/ini": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz",
+ "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=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",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-ci": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz",
+ "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ci-info": "^3.2.0"
+ },
+ "bin": {
+ "is-ci": "bin.js"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-installed-globally": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz",
+ "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "global-dirs": "^3.0.0",
+ "is-path-inside": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
+ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-typedarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
+ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-unicode-supported": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
+ "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/isstream": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
+ "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsbn": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
+ "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
+ "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
+ "dev": true,
+ "license": "(AFL-2.1 OR BSD-3-Clause)"
+ },
+ "node_modules/json-stringify-safe": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
+ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/jsprim": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz",
+ "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==",
+ "dev": true,
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "assert-plus": "1.0.0",
+ "extsprintf": "1.3.0",
+ "json-schema": "0.4.0",
+ "verror": "1.10.0"
+ }
+ },
+ "node_modules/jsqr": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/jsqr/-/jsqr-1.4.0.tgz",
+ "integrity": "sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/lazy-ass": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz",
+ "integrity": "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "> 0.8"
+ }
+ },
+ "node_modules/listr2": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz",
+ "integrity": "sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cli-truncate": "^2.1.0",
+ "colorette": "^2.0.16",
+ "log-update": "^4.0.0",
+ "p-map": "^4.0.0",
+ "rfdc": "^1.3.0",
+ "rxjs": "^7.5.1",
+ "through": "^2.3.8",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "enquirer": ">= 2.3.0 < 3"
+ },
+ "peerDependenciesMeta": {
+ "enquirer": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.isempty": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz",
+ "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.isfunction": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz",
+ "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.isobject": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz",
+ "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.isstring": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
+ "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.once": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
+ "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/log-symbols": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
+ "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.0",
+ "is-unicode-supported": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/log-update": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz",
+ "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-escapes": "^4.3.0",
+ "cli-cursor": "^3.1.0",
+ "slice-ansi": "^4.0.0",
+ "wrap-ansi": "^6.2.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/log-update/node_modules/slice-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
+ "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "astral-regex": "^2.0.0",
+ "is-fullwidth-code-point": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/log-update/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
+ "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/mocha": {
+ "version": "10.7.3",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz",
+ "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "ansi-colors": "^4.1.3",
+ "browser-stdout": "^1.3.1",
+ "chokidar": "^3.5.3",
+ "debug": "^4.3.5",
+ "diff": "^5.2.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-up": "^5.0.0",
+ "glob": "^8.1.0",
+ "he": "^1.2.0",
+ "js-yaml": "^4.1.0",
+ "log-symbols": "^4.1.0",
+ "minimatch": "^5.1.6",
+ "ms": "^2.1.3",
+ "serialize-javascript": "^6.0.2",
+ "strip-json-comments": "^3.1.1",
+ "supports-color": "^8.1.1",
+ "workerpool": "^6.5.1",
+ "yargs": "^16.2.0",
+ "yargs-parser": "^20.2.9",
+ "yargs-unparser": "^2.0.0"
+ },
+ "bin": {
+ "_mocha": "bin/_mocha",
+ "mocha": "bin/mocha.js"
+ },
+ "engines": {
+ "node": ">= 14.0.0"
+ }
+ },
+ "node_modules/mocha/node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mochawesome": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/mochawesome/-/mochawesome-7.1.3.tgz",
+ "integrity": "sha512-Vkb3jR5GZ1cXohMQQ73H3cZz7RoxGjjUo0G5hu0jLaW+0FdUxUwg3Cj29bqQdh0rFcnyV06pWmqmi5eBPnEuNQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.2",
+ "diff": "^5.0.0",
+ "json-stringify-safe": "^5.0.1",
+ "lodash.isempty": "^4.4.0",
+ "lodash.isfunction": "^3.0.9",
+ "lodash.isobject": "^3.0.2",
+ "lodash.isstring": "^4.0.1",
+ "mochawesome-report-generator": "^6.2.0",
+ "strip-ansi": "^6.0.1",
+ "uuid": "^8.3.2"
+ },
+ "peerDependencies": {
+ "mocha": ">=7"
+ }
+ },
+ "node_modules/mochawesome-merge": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/mochawesome-merge/-/mochawesome-merge-4.3.0.tgz",
+ "integrity": "sha512-1roR6g+VUlfdaRmL8dCiVpKiaUhbPVm1ZQYUM6zHX46mWk+tpsKVZR6ba98k2zc8nlPvYd71yn5gyH970pKBSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fs-extra": "^7.0.1",
+ "glob": "^7.1.6",
+ "yargs": "^15.3.1"
+ },
+ "bin": {
+ "mochawesome-merge": "bin/mochawesome-merge.js"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/fs-extra": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz",
+ "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=6 <7 || >=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",
+ "dev": true,
+ "license": "MIT",
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/mochawesome-merge/node_modules/yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/mochawesome-merge/node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/mochawesome-report-generator": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/mochawesome-report-generator/-/mochawesome-report-generator-6.2.0.tgz",
+ "integrity": "sha512-Ghw8JhQFizF0Vjbtp9B0i//+BOkV5OWcQCPpbO0NGOoxV33o+gKDYU0Pr2pGxkIHnqZ+g5mYiXF7GMNgAcDpSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.2",
+ "dateformat": "^4.5.1",
+ "escape-html": "^1.0.3",
+ "fs-extra": "^10.0.0",
+ "fsu": "^1.1.1",
+ "lodash.isfunction": "^3.0.9",
+ "opener": "^1.5.2",
+ "prop-types": "^15.7.2",
+ "tcomb": "^3.2.17",
+ "tcomb-validation": "^3.3.0",
+ "validator": "^13.6.0",
+ "yargs": "^17.2.1"
+ },
+ "bin": {
+ "marge": "bin/cli.js"
+ }
+ },
+ "node_modules/mochawesome-report-generator/node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/mochawesome-report-generator/node_modules/fs-extra": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
+ "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/mochawesome-report-generator/node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/mochawesome-report-generator/node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/ms": {
+ "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/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/object-assign": {
+ "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"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
+ "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/opener": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz",
+ "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==",
+ "dev": true,
+ "license": "(WTFPL OR MIT)",
+ "bin": {
+ "opener": "bin/opener-bin.js"
+ }
+ },
+ "node_modules/ospath": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz",
+ "integrity": "sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-map": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
+ "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "aggregate-error": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pend": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
+ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/performance-now": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
+ "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz",
+ "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/pretty-bytes": {
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz",
+ "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/process": {
+ "version": "0.11.10",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
+ "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6.0"
+ }
+ },
+ "node_modules/prop-types": {
+ "version": "15.8.1",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
+ }
+ },
+ "node_modules/proxy-from-env": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz",
+ "integrity": "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/psl": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz",
+ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pump": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
+ "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
+ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.0.6"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/querystringify": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/request-progress": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz",
+ "integrity": "sha512-MnWzEHHaxHO2iWiQuHrUPBi/1WeBf5PkxQqNyNvLl9VAYSdXkP8tQ3pBSeCPD+yw0v0Aq1zosWLz0BdeXpWwZg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "throttleit": "^1.0.0"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rfdc": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
+ "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/rxjs": {
+ "version": "7.8.1",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz",
+ "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "tslib": "^2.1.0"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "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",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "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": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/serialize-javascript": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",
+ "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "peer": true,
+ "dependencies": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/set-function-length": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
+ "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4",
+ "object-inspect": "^1.13.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/slice-ansi": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",
+ "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "astral-regex": "^2.0.0",
+ "is-fullwidth-code-point": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/sshpk": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz",
+ "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "asn1": "~0.2.3",
+ "assert-plus": "^1.0.0",
+ "bcrypt-pbkdf": "^1.0.0",
+ "dashdash": "^1.12.0",
+ "ecc-jsbn": "~0.1.1",
+ "getpass": "^0.1.1",
+ "jsbn": "~0.1.0",
+ "safer-buffer": "^2.0.2",
+ "tweetnacl": "~0.14.0"
+ },
+ "bin": {
+ "sshpk-conv": "bin/sshpk-conv",
+ "sshpk-sign": "bin/sshpk-sign",
+ "sshpk-verify": "bin/sshpk-verify"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/tcomb": {
+ "version": "3.2.29",
+ "resolved": "https://registry.npmjs.org/tcomb/-/tcomb-3.2.29.tgz",
+ "integrity": "sha512-di2Hd1DB2Zfw6StGv861JoAF5h/uQVu/QJp2g8KVbtfKnoHdBQl5M32YWq6mnSYBQ1vFFrns5B1haWJL7rKaOQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tcomb-validation": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/tcomb-validation/-/tcomb-validation-3.4.1.tgz",
+ "integrity": "sha512-urVVMQOma4RXwiVCa2nM2eqrAomHROHvWPuj6UkDGz/eb5kcy0x6P0dVt6kzpUZtYMNoAqJLWmz1BPtxrtjtrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tcomb": "^3.0.0"
+ }
+ },
+ "node_modules/throttleit": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.1.tgz",
+ "integrity": "sha512-vDZpf9Chs9mAdfY046mcPt8fg5QSZr37hEH4TXYBnDF+izxgrbRGUAAaBvIk/fJm9aOFCGFd1EsNg5AZCbnQCQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tmp": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz",
+ "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/tough-cookie": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
+ "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "psl": "^1.1.33",
+ "punycode": "^2.1.1",
+ "universalify": "^0.2.0",
+ "url-parse": "^1.5.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tough-cookie/node_modules/universalify": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
+ "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
+ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
+ "dev": true,
+ "license": "0BSD"
+ },
+ "node_modules/tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/tweetnacl": {
+ "version": "0.14.5",
+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
+ "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==",
+ "dev": true,
+ "license": "Unlicense"
+ },
+ "node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/untildify": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",
+ "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/url-parse": {
+ "version": "1.5.10",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
+ "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "querystringify": "^2.1.1",
+ "requires-port": "^1.0.0"
+ }
+ },
+ "node_modules/uuid": {
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/validator": {
+ "version": "13.12.0",
+ "resolved": "https://registry.npmjs.org/validator/-/validator-13.12.0.tgz",
+ "integrity": "sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/verror": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
+ "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==",
+ "dev": true,
+ "engines": [
+ "node >=0.6.0"
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "assert-plus": "^1.0.0",
+ "core-util-is": "1.0.2",
+ "extsprintf": "^1.2.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
+ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/workerpool": {
+ "version": "6.5.1",
+ "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz",
+ "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "peer": true
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "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": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "16.2.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
+ "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "cliui": "^7.0.2",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.0",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^20.2.2"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "20.2.9",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz",
+ "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
+ "dev": true,
+ "license": "ISC",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs-unparser": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz",
+ "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "camelcase": "^6.0.0",
+ "decamelize": "^4.0.0",
+ "flat": "^5.0.2",
+ "is-plain-obj": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer-crc32": "~0.2.3",
+ "fd-slicer": "~1.1.0"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ }
+ }
+}
diff --git a/cypress-tests-v2/package.json b/cypress-tests-v2/package.json
new file mode 100644
index 0000000000..e06c1a63be
--- /dev/null
+++ b/cypress-tests-v2/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "cypress",
+ "version": "1.0.0",
+ "description": "Cypress tests suite",
+ "scripts": {
+ "cypress": "npx cypress open",
+ "cypress-e2e": "npx cypress run --e2e",
+ "cypress:ci": "npx cypress run --headless",
+ "cypress:payments": "cypress run --headless --spec 'cypress/e2e/spec/Payment/**/*'",
+ "cypress:payouts": "cypress run --headless --spec 'cypress/e2e/spec/Payout/**/*'",
+ "cypress:payment-method-list": "cypress run --headless --spec 'cypress/e2e/spec/PaymentMethodList/**/*'",
+ "cypress:routing": "cypress run --headless --spec 'cypress/e2e/spec/Routing/**/*'"
+ },
+ "author": "Hyperswitch Team",
+ "license": "ISC",
+ "devDependencies": {
+ "@types/fs-extra": "^11.0.4",
+ "cypress": "^13.14.2",
+ "cypress-mochawesome-reporter": "^3.8.2",
+ "jsqr": "^1.4.0",
+ "prettier": "^3.3.2"
+ }
+}
diff --git a/cypress-tests/.prettierrc.json b/cypress-tests/.prettierrc.json
index f0eb61e0f7..479993c133 100644
--- a/cypress-tests/.prettierrc.json
+++ b/cypress-tests/.prettierrc.json
@@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
- "singleQuote": false
+ "singleQuote": false,
+ "printWidth": 120
}