repo
stringclasses
4 values
file_path
stringlengths
6
193
extension
stringclasses
23 values
content
stringlengths
0
1.73M
token_count
int64
0
724k
__index_level_0__
int64
0
10.8k
hyperswitch
config/otel-collector.yaml
.yaml
receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 exporters: otlp: endpoint: tempo:4317 tls: insecure: true debug: verbosity: detailed prometheus: endpoint: 0.0.0.0:8889 namespace: router const_labels: app_name: router-api service: telemetry: ...
177
8,808
hyperswitch
config/vector.yaml
.yaml
acknowledgements: enabled: true enrichment_tables: sdk_map: type: file file: path: /etc/vector/config/sdk_map.csv encoding: type: csv schema: publishable_key: string merchant_id: string api: enabled: true address: 0.0.0.0:8686 sources: kafka_tx_events: type: ...
1,502
8,809
hyperswitch
config/dashboard.toml
.toml
[default.theme] primary_color="#006DF9" primary_hover_color="#005ED6" sidebar_primary="#FCFCFD" sidebar_secondary= "#FFFFFF" sidebar_hover_color= "#D9DDE5" sidebar_primary_text_color="#1C6DEA" sidebar_secondary_text_color= "#525866" sidebar_border_color= "#ECEFF3" [default.endpoints] api_url="http://localh...
452
8,810
hyperswitch
config/promtail.yaml
.yaml
server: http_listen_port: 9080 grpc_listen_port: 0 positions: filename: /tmp/positions.yaml clients: - url: http://loki:3100/loki/api/v1/push scrape_configs: - job_name: router_file_logs static_configs: - targets: - localhost labels: scrape_source: file __path__: /var/log/router/**/...
273
8,811
hyperswitch
config/payment_required_fields_v2.toml
.toml
[[required_fields.card.credit.fields.stripe.common]] required_field = "payment_method_data.card.card_number" display_name = "card_number" field_type = "user_card_number" [[required_fields.card.credit.fields.stripe.common]] required_field = "payment_method_data.card.card_exp_year" display_name = "card_exp_year" field_ty...
153
8,812
hyperswitch
config/grafana-datasource.yaml
.yaml
apiVersion: 1 datasources: - name: Traces type: tempo access: proxy url: http://tempo:3200/ editable: true isDefault: false - name: Logs type: loki access: proxy url: http://loki:3100/ editable: true isDefault: true - name: Metrics type: prometheus access: proxy ...
213
8,813
hyperswitch
config/prometheus.yaml
.yaml
# my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. # scrape_timeout is set to the global default (10s). # Alertmanager configuration # alerting: # al...
322
8,814
hyperswitch
config/docker_compose.toml
.toml
[server] port = 8080 host = "0.0.0.0" request_body_limit = 16_384 # Post request body is limited to 16k. [log.file] enabled = false # Whether you want to store log in log files. path = "logs" # Where to store log files. level = "DEBUG" # What gets into log files. # rotation = "60" # mins # current framewor...
33,209
8,815
hyperswitch
config/config.example.toml
.toml
# This is a sample config file whose sole purpose is to enumerate # all the available configuration options, and is intended to be used # solely as a reference. Please copy this file to create a config. # Server configuration [server] port = 8080 host = "127.0.0.1" # This is the grace time (in seconds) given to the ac...
34,199
8,816
hyperswitch
config/loki.yaml
.yaml
auth_enabled: false server: http_listen_port: 3100 common: path_prefix: /loki storage: filesystem: chunks_directory: /loki/chunks rules_directory: /loki/rules replication_factor: 1 ring: kvstore: store: inmemory ingester: # These ingester settings are configured for local setup ...
187
8,817
hyperswitch
config/redis.conf
.conf
# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # # 1k...
24,850
8,818
hyperswitch
config/grafana.ini
.ini
##################### Grafana Configuration Defaults ##################### # # Do not modify this file in grafana installs # # possible values : production, development app_mode = production # instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty instance_name = ${HOSTNAM...
11,050
8,819
hyperswitch
config/tempo.yaml
.yaml
server: http_listen_port: 3200 distributor: receivers: otlp: protocols: grpc: ingester: trace_idle_period: 10s # the length of time after a trace has not received spans to consider it complete and flush it max_block_bytes: 1_000_000 # cut the head block when it hits t...
430
8,820
hyperswitch
config/deployments/production.toml
.toml
# Bank redirect configs for allowed banks [bank_config] eps.adyen.banks = "bank_austria,bawag_psk_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_tirol_bank_ag,posojilnica_bank_e_gen,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag" eps.stripe.banks = ...
33,984
8,821
hyperswitch
config/deployments/env_specific.toml
.toml
# For explanantion of each config, please refer to the `config/config.example.toml` file [analytics.clickhouse] username = "clickhouse_username" # Clickhouse username password = "clickhouse_password" # Clickhouse password (optional) host = "http://localhost:8123" # Clickhouse host in http(s)://<URL>:<POR...
4,415
8,822
hyperswitch
config/deployments/integration_test.toml
.toml
# Bank redirect configs for allowed banks [bank_config] eps.adyen.banks = "bank_austria,bawag_psk_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_tirol_bank_ag,posojilnica_bank_e_gen,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag" eps.stripe.banks = ...
33,025
8,823
hyperswitch
config/deployments/drainer.toml
.toml
[drainer] loop_interval = 500 max_read_count = 100 num_partitions = 64 shutdown_interval = 1000 stream_name = "drainer_stream" [secrets_management] secrets_manager = "aws_kms" [secrets_management.aws_kms] key_id = "kms_key_id" region = "kms_region" [encryption_management] encryption_manager = "aws_kms" [encryption_...
303
8,824
hyperswitch
config/deployments/sandbox.toml
.toml
# Bank redirect configs for allowed banks [bank_config] eps.adyen.banks = "bank_austria,bawag_psk_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_tirol_bank_ag,posojilnica_bank_e_gen,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag" eps.stripe.banks = ...
33,918
8,825
hyperswitch
config/deployments/README.md
.md
# Configs for deployments ## Introduction This directory contains the configs for deployments of Hyperswitch in different hosted environments. Hyperswitch has **3** components namely, - router - drainer - scheduler - consumer - producer We maintain configs for the `router` component for 3 different environment...
1,600
8,826
hyperswitch
config/deployments/scheduler/producer.toml
.toml
# Scheduler settings provides a point to modify the behaviour of scheduler flow. # It defines the streams/queues name and configuration as well as event selection variables [scheduler] consumer_group = "scheduler_group" graceful_shutdown_interval = 60000 # Specifies how much time to wait while re-attempting shutdown fo...
296
8,827
hyperswitch
config/deployments/scheduler/consumer.toml
.toml
# Scheduler settings provides a point to modify the behaviour of scheduler flow. # It defines the streams/queues name and configuration as well as event selection variables [scheduler] consumer_group = "scheduler_group" graceful_shutdown_interval = 60000 # Specifies how much time to wait while re-attempting shutdown fo...
207
8,828
hyperswitch
aws/beta_schema.sql
.sql
-- File: migrations/00000000000000_diesel_initial_setup/up.sql -- This file was automatically created by Diesel to setup helper functions -- and other internal bookkeeping. This file is safe to edit, any future -- changes will be added to existing projects as new migrations. -- Sets up a trigger for the given table...
16,573
8,829
hyperswitch
aws/hyperswitch_aws_setup.sh
.sh
#!/bin/bash command_discovery() { type $1 > /dev/null 2> /dev/null if [[ $? != 0 ]]; then echo "\`$1\` command not found" exit 1 fi } command_discovery curl command_discovery aws command_discovery psql echo "Please enter the AWS region (us-east-2): " read REGION < /dev/tty if [ -z "$REGION" ]; then ...
2,703
8,830
hyperswitch
aws/hyperswitch_cleanup_setup.sh
.sh
#!/bin/bash command_discovery() { type $1 > /dev/null 2> /dev/null if [[ $? != 0 ]]; then echo "\`$1\` command not found" exit 1 fi } yes_or_no() { read response < /dev/tty case $response in [Yy]* ) return 0 ;; [Nn]* ) return 1 ;; * ) return 1 ;; esac } command_disco...
1,206
8,831
hyperswitch
scripts/setup.sh
.sh
#! /usr/bin/env bash set -euo pipefail # ANSI color codes for pretty output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[0;33m' BLUE='\033[0;34m' BOLD='\033[1m' NC='\033[0m' # No Color # Alias for docker to use podman alias docker=podman # Function to print colorful messages echo_info() { echo -e "${BLUE}[IN...
2,252
8,832
hyperswitch
scripts/add_connector.sh
.sh
#! /usr/bin/env bash function find_prev_connector() { self=scripts/add_connector.sh # Comment below line to stop undoing changes when the script is triggered, make sure you undo this change before pushing git checkout $self cp $self $self.tmp # Add new connector to existing list and sort it con...
2,887
8,833
hyperswitch
scripts/execute_cypress.sh
.sh
#! /usr/bin/env bash set -euo pipefail # Initialize tmp_file globally tmp_file="" # Define arrays for services, etc. # Read service arrays from environment variables read -r -a payments <<< "${PAYMENTS_CONNECTORS[@]:-}" read -r -a payouts <<< "${PAYOUTS_CONNECTORS[@]:-}" read -r -a payment_method_list <<< "${PAYMENT...
1,337
8,834
hyperswitch
scripts/docker_output.sh
.sh
#! /usr/bin/env bash set -euo pipefail # Define the URL to check service availability (adjust HOST and PORT if needed) HOST="localhost" PORT="8080" SERVICE_URL="http://${HOST}:${PORT}/health" MAX_RETRIES=70 RETRY_COUNT=0 # Wait until the service is available or retries are exhausted while ! curl --silent --fail "${S...
342
8,835
hyperswitch
scripts/decrypt_browser_data.sh
.sh
#! /usr/bin/env bash # Decrypt the file # --batch to prevent interactive command # --yes to assume "yes" for questions gpg --quiet --batch --yes --decrypt --passphrase="$1" \ --output $HOME/browser_data.tar.gz .github/secrets/browser_data.tar.gz.gpg # Unzip the tarball tar xzf $HOME/browser_data.tar.gz -C $HOME
88
8,836
hyperswitch
scripts/prestart_hook.sh
.sh
#! /usr/bin/env bash set -euo pipefail # Define the URL and parameters PLATFORM="docker-compose" WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/${PLATFORM}" VERSION="unknown" STATUS="initiated" # Send the GET request curl --get "${WEBHOOK_URL}" --data-urlencode "version=${VERSION}" --data-urlencode "status=${STATU...
108
8,837
hyperswitch
scripts/poststart_hook.sh
.sh
#! /usr/bin/env bash set -euo pipefail # Configuration PLATFORM="docker-compose" # Change to "helm" or "cdk" as needed VERSION="unknown" STATUS="" SERVER_BASE_URL="http://hyperswitch-server:8080" HYPERSWITCH_HEALTH_URL="${SERVER_BASE_URL}/health" HYPERSWITCH_DEEP_HEALTH_URL="${SERVER_BASE_URL}/health/ready" WEBHOOK_UR...
609
8,838
hyperswitch
scripts/ci-checks.sh
.sh
#! /usr/bin/env bash set -euo pipefail # The below script is run on the github actions CI # Obtain a list of workspace members workspace_members="$( cargo metadata --format-version 1 --no-deps \ | jq \ --compact-output \ --monochrome-output \ --raw-output \ '(.workspace_members | sort) as...
1,457
8,839
hyperswitch
api-reference-v2/rust_locker_open_api_spec.yml
.yml
openapi: "3.0.2" info: title: Tartarus - OpenAPI 3.0 description: |- This is the OpenAPI 3.0 specification for the card locker. This is used by the [hyperswitch](https://github.com/juspay/hyperswitch) for storing card information securely. version: "1.0" tags: - name: Key Custodian description: API ...
2,352
8,841
hyperswitch
api-reference-v2/mint.json
.json
{ "$schema": "https://mintlify.com/schema.json", "name": "Hyperswitch", "logo": { "dark": "/logo/dark.svg", "light": "/logo/light.svg" }, "favicon": "/favicon.png", "colors": { "primary": "#006DF9", "light": "#006DF9", "dark": "#006DF9", "background": { "dark": "#242F48" } ...
1,205
8,842
hyperswitch
api-reference-v2/openapi_spec.json
.json
{ "openapi": "3.0.3", "info": { "title": "Hyperswitch - API Documentation", "description": "\n## Get started\n\nHyperswitch provides a collection of APIs that enable you to process and manage payments.\nOur APIs accept and return JSON in the HTTP body, and return standard HTTP response codes.\n\nYou can con...
147,248
8,843
hyperswitch
api-reference-v2/README.md
.md
# Api Reference We use the [openapi specification](https://swagger.io/specification) for the api reference. The openapi file is generated from the code base [openapi_spec.json](openapi_spec.json). ## How to generate the file This file is automatically generated from our CI pipeline when the PR is raised. However if ...
345
8,844
hyperswitch
api-reference/hyperswitch_intelligent_router_open_api_spec.yml
.yml
openapi: 3.0.0 info: title: Dynamic routing - OpenAPI 3.0 description: This the the open API 3.0 specification for the dynamic routing. version: 1.0.0 paths: /success_rate.SuccessRateCalculator/FetchSuccessRate: post: summary: Fetch success rate for an entity operationId: fetchSuccessRate ...
4,111
8,918
hyperswitch
api-reference/rust_locker_open_api_spec.yml
.yml
openapi: "3.0.2" info: title: Tartarus - OpenAPI 3.0 description: |- This is the OpenAPI 3.0 specification for the card locker. This is used by the [hyperswitch](https://github.com/juspay/hyperswitch) for storing card information securely. version: "1.0" tags: - name: Key Custodian description: API ...
2,352
8,920
hyperswitch
api-reference/mint.json
.json
{ "$schema": "https://mintlify.com/schema.json", "name": "Hyperswitch", "logo": { "dark": "/logo/dark.svg", "light": "/logo/light.svg" }, "topbarLinks": [ { "name": "Contact Us", "url": "https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw" } ...
2,549
8,921
hyperswitch
api-reference/openapi_spec.json
.json
{ "openapi": "3.0.3", "info": { "title": "Hyperswitch - API Documentation", "description": "\n## Get started\n\nHyperswitch provides a collection of APIs that enable you to process and manage payments.\nOur APIs accept and return JSON in the HTTP body, and return standard HTTP response codes.\n\nYou can con...
178,518
8,922
hyperswitch
api-reference/README.md
.md
# Api Reference We use the [openapi specification](https://swagger.io/specification) for the api reference. The openapi file is generated from the code base [openapi_spec.json](openapi_spec.json). ## How to generate the file This file is automatically generated from our CI pipeline when the PR is raised. However if ...
341
8,923
hyperswitch-control-center
Dockerfile
none
FROM node:18 AS base WORKDIR /usr/src/app COPY . . RUN npm i RUN npm run build:prod FROM node:18-alpine WORKDIR /usr/src/app COPY --from=base /usr/src/app/dist /usr/src/app/dist COPY --from=base /usr/src/app/package*.json ./ RUN apk add --no-cache bash # Create non-root user and switch to it RUN addgroup -S app...
171
9,041
hyperswitch-control-center
tailwindHyperSwitch.config.js
.js
const plugin = require("tailwindcss/plugin"); module.exports = { darkMode: "class", content: ["./src/**/*.js"], theme: { fontFamily: { "inter-style": '"Inter"', }, extend: { screens: { mobile: "28.125rem", tablet: "93.75rem", desktop: "118.75rem", }, wi...
6,444
9,042
hyperswitch-control-center
package.json
.json
{ "name": "hyperswitch-dashboard", "version": "1.0.5", "main": "index.js", "author": "Shiva Nandan <shiva.nandan@juspay.in>", "license": "MIT", "scripts": { "pre-commit": "bash .githooks/commit-msg", "start": "cross-env APP_VERSION=$npm_package_version webpack serve --config webpack.dev.js", "se...
1,304
9,043
hyperswitch-control-center
CHANGELOG.md
.md
# Changelog All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - ## 2025.04.22.0 ### Bug Fixes - Connector metadata default ([#2849](https://github.com/juspay/hyperswitch-control-center/pull/2849)) ([`a4897...
161,274
9,044
hyperswitch-control-center
cypress.config.js
.js
const { defineConfig } = require("cypress"); module.exports = defineConfig({ e2e: { baseUrl: "http://localhost:9000", setupNodeEvents(on, config) { require("@cypress/code-coverage/task")(on, config); // include any other plugin code... // It's IMPORTANT to return the config object // ...
184
9,045
hyperswitch-control-center
LICENSE
none
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
2,273
9,046
hyperswitch-control-center
rescript.json
.json
{ "$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json", "name": "editor-ui", "uncurried": true, "jsx": { "version": 4, "mode": "classic" }, "bsc-flags": ["-bs-super-errors", "-open RescriptCore"], "sources": { "dir": "src", "su...
184
9,047
hyperswitch-control-center
webpack.dev.js
.js
const path = require("path"); const webpack = require("webpack"); const { merge } = require("webpack-merge"); const common = require("./webpack.common.js"); const config = import("./src/server/config.mjs"); let port = 9000; // proxy is setup to make frontend and backend url same for local testing let proxy = { "/api...
517
9,048
hyperswitch-control-center
webpack.common.js
.js
const path = require("path"); const webpack = require("webpack"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const CopyPlugin = require("copy-webpack-plugin"); const ReactRefreshWebpackPlugin = require("@pmmmwh/react-refresh-webpack-plugin"); const tailwindcss = require("tailwindcss"); const Monac...
505
9,049
hyperswitch-control-center
webpack.custom.js
.js
const ReactRefreshWebpackPlugin = require("@pmmmwh/react-refresh-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const CopyPlugin = require("copy-webpack-plugin"); const tailwindcss = require("tailwindcss"); const webpack = requir...
554
9,050
hyperswitch-control-center
webpack.prod.js
.js
const { merge } = require("webpack-merge"); const common = require("./webpack.common.js"); const CssMinimizerPlugin = require("css-minimizer-webpack-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const serverConfig = require("./webpack.server"); const { execSync } = require("child_process"); process....
327
9,051
hyperswitch-control-center
webpack.server.js
.js
const path = require("path"); const webpack = require("webpack"); const { execSync } = require("child_process"); const CopyWebpackPlugin = require("copy-webpack-plugin"); var currentCommitHash = execSync("git rev-parse HEAD", { encoding: "utf-8", }).trim(); module.exports = { mode: "development", entry: { se...
204
9,052
hyperswitch-control-center
jest.config.js
.js
module.exports = { testEnvironment: "jsdom", moduleFileExtensions: ["js", "mjs"], testMatch: ["**/tests/**/*Test.res.js"], };
39
9,053
hyperswitch-control-center
tailwind.config.js
.js
/////////////////////////////////////////////////////////////////////////////// /// ***Reference*** /// /// https://github.com/fbrill/dynamic-colors-in-tailwind/blob/main/utils/index.js/// /////////////////////////////////////////////////////////////////////////////// function withOpacity(variableName) { return (...
6,652
9,054
hyperswitch-control-center
README.md
.md
# Hyperswitch Control Center Hyperswitch control center is an open source dashboard to easily view, manage and control your payments across multiple processors through Hyperswitch - an open source payments switch. ## Features 1. Connect to multiple payment processors like Stripe, Braintree, Adyen etc. in a few click...
3,656
9,055
hyperswitch-control-center
Makefile
none
# Override envars using -e # make release -e NS=docker.io/juspay/test -e VERSION=1.2.3 -e IMAGE_NAME=docker-test NS ?= juspaydotin VERSION ?= latest IMAGE_NAME ?= hyperswitch-control-center BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD) CONTAINER_NAME ?= hyperswitch-control-center CONTAINER_INSTANCE ?= default...
425
9,056
hyperswitch-control-center
package-lock.json
.json
{ "name": "hyperswitch-dashboard", "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hyperswitch-dashboard", "version": "1.0.5", "hasInstallScript": true, "license": "MIT", "dependencies": { "@headlessui/react": "^1.2.0", ...
723,911
9,057
hyperswitch-control-center
cog.toml
.toml
tag_prefix = "v" ignore_merge_commits = true # the HTML comments (`<!-- N -->`) are a workaround to have sections in custom order, since they are alphabetically sorted [commit_types] feat = { changelog_title = "<!-- 0 -->Features" } fix = { changelog_title = "<!-- 1 -->Bug Fixes" } perf = { changelog_title = "<!-- 2 -...
234
9,058
hyperswitch-control-center
docs/SECURITY.md
.md
# Security Policy ## Reporting a security issue The hyperswitch project team welcomes security reports and is committed to providing prompt attention to security issues. Security issues should be reported privately via the [advisories page on GitHub](https://github.com/juspay/hyperswitch/security/advisories/new) or b...
87
9,059
hyperswitch-control-center
docs/CONTRIBUTING.md
.md
# Contributing We welcome contributions from the community! If you would like to contribute to Hyperswitch, please follow our contribution guidelines. ### Commit Conventions We follow the [Conventional Commits](https://www.conventionalcommits.org/) specification for our commit messages. Each commit message should ha...
969
9,060
hyperswitch-control-center
docs/CODE_OF_CONDUCT.md
.md
# Code of Conduct The hyperswitch control center project adheres to the [Rescript](https://rescript-lang.org/community/code-of-conduct) and [React](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md) code of conduct. This describes the minimum behavior expected from all contributors.
65
9,061
hyperswitch-control-center
public/hyperswitch/_redirects
none
/api/* https://integ-api.hyperswitch.io/:splat 200 /* /index.html 200
32
9,062
hyperswitch-control-center
public/hyperswitch/index.html
.html
<!doctype html> <html lang="en"> <head> <title>Loading...</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta charset="UTF-8" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.googleapis.com" /> ...
1,735
9,063
hyperswitch-control-center
public/hyperswitch/module.js
.js
let wasm; async function init() { try { wasm = await import("/wasm/euclid.js"); await wasm.default("/wasm/euclid_bg.wasm"); return { status: true, wasm }; } catch (e) { console.error(e, "FAILED TO LOAD WASM CONFIG"); throw e; } } function getConnectorConfig(connectorName) { if (wasm) { ...
1,643
9,064
hyperswitch-control-center
public/hyperswitch/defaultConfig.js
.js
window._env_ = { theme: { primary_color: "", primary_hover_color: "", sidebar_color: "", }, endpoints: { api_url: "", }, };
40
9,065
hyperswitch-control-center
public/hyperswitch/wasm/euclid.js
.js
let wasm; const heap = new Array(128).fill(undefined); heap.push(undefined, null, true, false); function getObject(idx) { return heap[idx]; } let WASM_VECTOR_LEN = 0; let cachedUint8ArrayMemory0 = null; function getUint8ArrayMemory0() { if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLengt...
10,332
9,278
hyperswitch-control-center
public/hyperswitch/wasm/package.json
.json
{ "name": "euclid_wasm", "description": "WASM bindings for Euclid DSL", "version": "0.1.0", "license": "Apache-2.0", "files": [ "euclid_bg.wasm", "euclid.js", "euclid.d.ts" ], "module": "euclid.js", "types": "euclid.d.ts", "sideEffects": [ "./snippets/*" ] }
108
9,279
hyperswitch-control-center
public/hyperswitch/wasm/euclid_bg.wasm.d.ts
.ts
/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const setForexData: (a: number, b: number) => void; export const convertCurrency: (a: number, b: bigint, c: number, d: number) => void; export const seedKnowledgeGraph: (a: number, b: number) => void; export const getValidConnecto...
675
9,280
hyperswitch-control-center
public/hyperswitch/wasm/euclid.d.ts
.ts
/* tslint:disable */ /* eslint-disable */ /** * This function can be used by the frontend to educate wasm about the forex rates data. * The input argument is a struct fields base_currency and conversion where later is all the conversions associated with the base_currency * to all different currencies present. */ ex...
1,412
9,281
hyperswitch-control-center
public/common/NewThemeOnboarding.css
.css
.introjs-overlay { display: block; } .introjs-showElement { z-index: 1100 !important; } tr.introjs-showElement > td { z-index: 1100 !important; position: relative; } tr.introjs-showElement > th { z-index: 1100 !important; position: relative; } .introjs-disableInteraction { z-index: 1100 !important; ...
2,090
9,286
hyperswitch-control-center
public/common/serve.json
.json
{ "rewrites": [{ "source": "**", "destination": "/index.html" }] }
21
9,287
hyperswitch-control-center
public/common/_redirects_for_prod
none
/api/ec/* https://dashboard.expresscheckout.juspay.in/api/ec/:splat 200 /api-proxy/* https://api.juspay.in/:splat 200 /api/* https://api.yesbank.upi.juspay.in/api/:splat 200 /* /index.html 200
81
9,291
hyperswitch-control-center
public/common/Onboarding.css
.css
.introjs-overlay { display: block; } .introjs-showElement { z-index: 1100 !important; } tr.introjs-showElement > td { z-index: 1100 !important; position: relative; } tr.introjs-showElement > th { z-index: 1100 !important; position: relative; } .introjs-disableInteraction { z-index: 1100 !important; ...
2,089
9,292
hyperswitch-control-center
public/common/lottie-files/checkbox.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 8, "w": 1080, "h": 1080, "nm": "Blue_Check", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 5, "ty": 4, "nm": "Enter_Whit...
2,570
9,293
hyperswitch-control-center
public/common/lottie-files/deselectTick.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 7, "w": 1080, "h": 1080, "nm": "Blue_Check", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 1, "ty": 4, "nm": "Exit_Blue_...
1,395
9,294
hyperswitch-control-center
public/common/lottie-files/enterCross.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 8, "w": 1080, "h": 1080, "nm": "Blue_Check", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 1, "ty": 4, "nm": "Cross 2", ...
3,017
9,295
hyperswitch-control-center
public/common/lottie-files/spinner.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 2.0.4", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 61, "w": 512, "h": 512, "nm": "Rander", "ddd": 0, "assets": [ { "id": "comp_0", "layers": [ { "ddd": 0, "ind": 1, ...
30,363
9,296
hyperswitch-control-center
public/common/lottie-files/uncheckbox.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 7, "w": 1080, "h": 1080, "nm": "Blue_Check", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 3, "ty": 4, "nm": "Exit_White...
2,710
9,297
hyperswitch-control-center
public/common/lottie-files/checkboxPurple.json
.json
{ "nm": "Purple_check", "ddd": 0, "h": 1080, "w": 1080, "meta": { "g": "LottieFiles AE 3.1.1" }, "layers": [ { "ty": 4, "nm": "Enter_White_Check_Tick", "sr": 1, "st": 0, "op": 19, "ip": 0, "hd": false, "ddd": 0, "bm": 0, "hasMask": false,...
2,569
9,298
hyperswitch-control-center
public/common/lottie-files/successConfetti.json
.json
{ "nm": "Confetti 1", "ddd": 0, "h": 300, "w": 250, "meta": { "g": "@lottiefiles/toolkit-js 0.26.1" }, "layers": [ { "ty": 3, "nm": "Null 3", "sr": 1, "st": 0, "op": 60, "ip": 5, "hd": false, "ddd": 0, "bm": 0, "hasMask": false, "ao": 0, ...
409,827
9,299
hyperswitch-control-center
public/common/lottie-files/hyperswitch_loader.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.4.3", "a": "", "k": "", "d": "", "tc": "" }, "fr": 29.9700012207031, "ip": 0, "op": 60, "w": 216, "h": 210, "nm": "loader 2", "ddd": 0, "assets": [ { "id": "comp_0", "layers": [ { "ddd": 0, "ind": 1, ...
6,373
9,300
hyperswitch-control-center
public/common/lottie-files/FinalTick.json
.json
{ "nm": "HDFC Success", "ddd": 0, "h": 180, "w": 180, "meta": { "g": "LottieFiles AE 1.0.0" }, "layers": [ { "ty": 4, "nm": "check", "sr": 1, "st": 0, "op": 240, "ip": 0, "hd": false, "ddd": 0, "bm": 0, "hasMask": false, "ao": 0, "k...
3,658
9,301
hyperswitch-control-center
public/common/lottie-files/exitCross.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 7, "w": 1080, "h": 1080, "nm": "Exit_ic_cross", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 1, "ty": 4, "nm": "Cross 2...
3,289
9,302
hyperswitch-control-center
public/common/lottie-files/uncheckboxPurple.json
.json
{ "nm": "Blue_Check", "ddd": 0, "h": 1080, "w": 1080, "meta": { "g": "LottieFiles AE 3.1.1" }, "layers": [ { "ty": 4, "nm": "Exit_White_Check_Tick", "sr": 1, "st": -7, "op": 143, "ip": 0, "hd": false, "ddd": 0, "bm": 0, "hasMask": false, ...
2,716
9,303
hyperswitch-control-center
public/common/lottie-files/tick.json
.json
{ "nm": "tick", "ddd": 0, "h": 30, "w": 30, "meta": { "g": "LottieFiles AE 3.4.5" }, "layers": [ { "ty": 4, "nm": "Shape Layer 1", "sr": 1, "st": 0, "op": 900.000036657751, "ip": 0, "hd": false, "ddd": 0, "bm": 0, "hasMask": false, "ao": ...
2,381
9,304
hyperswitch-control-center
public/common/lottie-files/loader-circle.json
.json
{ "nm": "Loading-2", "ddd": 0, "h": 150, "w": 300, "meta": { "g": "@lottiefiles/toolkit-js 0.26.1" }, "layers": [ { "ty": 4, "nm": "icon 2", "sr": 1, "st": 39, "op": 79, "ip": 39, "hd": false, "ddd": 0, "bm": 0, "hasMask": false, "ao": 0,...
2,768
9,305
hyperswitch-control-center
public/common/lottie-files/selectedTick.json
.json
{ "v": "4.8.0", "meta": { "g": "LottieFiles AE 3.1.1", "a": "", "k": "", "d": "", "tc": "" }, "fr": 30, "ip": 0, "op": 8, "w": 1080, "h": 1080, "nm": "Blue_Check", "ddd": 0, "assets": [], "layers": [ { "ddd": 0, "ind": 2, "ty": 4, "nm": "Enter_Blue...
1,481
9,306
hyperswitch-control-center
config/FeatureFlag.json
.json
0
9,309
hyperswitch-control-center
config/config.toml
.toml
[default.theme] primary_color="#006DF9" primary_hover_color="#005ED6" sidebar_primary="#FCFCFD" # To support current dashboard theme and to be removed later sidebar_secondary="#FFFFFF" # To support current dashboard theme and to be removed later sidebar_hover_color="#D9DDE5" # To sup...
529
9,310
hyperswitch-control-center
aws/hyperswitch_control_center_cleanup_setup.sh
.sh
#!/bin/bash command_discovery() { type $1 > /dev/null 2> /dev/null if [[ $? != 0 ]]; then echo "\`$1\` command not found" exit 1 fi } yes_or_no() { read response < /dev/tty case $response in [Yy]* ) return 0 ;; [Nn]* ) return 1 ;; * ) return 1 ;; esac } command_disco...
1,206
9,311
hyperswitch-control-center
aws/hyperswitch_control_center_aws_setup.sh
.sh
#!/bin/bash command_discovery() { type $1 > /dev/null 2> /dev/null if [[ $? != 0 ]]; then echo "\`$1\` command not found" exit 1 fi } command_discovery curl command_discovery aws echo "Please enter the api url (https://sandbox.hyperswitch.io) " read apiBaseUrl < /dev/tty if [ -z "$apiBaseUrl" ]; then ...
1,240
9,312
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryContainer/RecoveryConnectorContainer.res
.res
@react.component let make = () => { open HSwitchUtils open RevenueRecoveryOnboardingUtils let url = RescriptReactRouter.useUrl() let {userHasAccess} = GroupACLHooks.useUserGroupACLHook() let fetchConnectorListResponse = ConnectorListHook.useFetchConnectorList( ~entityName=V2(V2_CONNECTOR), ~version=V2...
666
9,313
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryApp/RevenueRecoverySidebarValues.res
.res
open SidebarTypes let revenueRecoveryHome = { Link({ name: "Home", link: `/v2/recovery`, access: Access, icon: "nd-home", }) } let revenueRecoveryPayments = { Link({ name: "Overview", link: `/v2/recovery/overview`, access: Access, icon: "nd-operations", }) } let revenueRecover...
157
9,314
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryApp/RevenueRecoveryApp.res
.res
@react.component let make = () => { let url = RescriptReactRouter.useUrl() { switch url.path->HSwitchUtils.urlPath { | list{"v2", "recovery"} => <RevenueRecoveryOnboardingLanding createMerchant=true /> | _ => <RecoveryConnectorContainer /> } } }
73
9,315
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryScreens/RecoveryProcessors/RevenueRecoveryBillingProcessors/BillingConnectorAuthKeys.res
.res
@react.component let make = ( ~initialValues, ~setConnectorName, ~connector, ~handleAuthKeySubmit, ~validateMandatoryField, ~updatedInitialVal, ~connectorInfoDict, ~screenState, ) => { open LogicUtils open ConnectProcessorsHelper let (arrow, setArrow) = React.useState(_ => false) let input: Re...
774
9,316
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryScreens/RecoveryProcessors/RevenueRecoveryBillingProcessors/RecoveryOnboardingBilling.res
.res
@react.component let make = ( ~currentStep, ~connectorID, ~connector, ~paymentConnectorName, ~setConnectorName, ~setNextStep, ~profileId, ~merchantId, ~activeBusinessProfile, ) => { open APIUtils open LogicUtils open ConnectorUtils open PageLoaderWrapper open RevenueRecoveryOnboardingUtils ...
1,676
9,317
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryScreens/RecoveryProcessors/RevenueRecoveryBillingProcessors/BillingProcessorsReviewDetails.res
.res
module StepCard = { @react.component let make = ( ~stepName, ~description="", ~isSelected, ~onClick, ~iconName, ~isLoading=false, ~customSelectionComponent, ~customOuterClass="", ~customSelectionBorderClass=?, ~isDisabled=false, ) => { let borderClass = switch (customSe...
841
9,318
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryScreens/RecoveryProcessors/RevenueRecoveryBillingProcessors/BillingConnectorsSummary.res
.res
type connectorSummarySection = AuthenticationKeys | Metadata | PMTs | PaymentConnectors module BillingConnectorDetails = { open PageLoaderWrapper open LogicUtils open APIUtils open ConnectorUtils @react.component let make = (~removeFieldsFromRespose, ~merchantId, ~setPaymentConnectorId) => { let getURL...
3,010
9,319
hyperswitch-control-center
src/RevenueRecovery/RevenueRecoveryScreens/RecoveryProcessors/RevenueRecoveryBillingProcessors/BillingProcessorsConnectProcessor.res
.res
module ConnectorConnect = { @react.component let make = (~connector_account_reference_id, ~autoFocus=false) => { <FormRenderer.FieldRenderer labelClass="font-semibold !text-hyperswitch_black" field={FormRenderer.makeFieldInfo( ~label="", ~name=`feature_metadata.revenue_recovery.billi...
664
9,320