@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
51 lines (50 loc) • 1.52 kB
TypeScript
import { TDuplicatedCarsUsage, TSetupIntentUsage } from "../interfaces/remote-config.js";
declare const constants: {
MS_API_KEY: string;
MS_CONFIG: any;
MS_PAYMENT_METHODS: any;
MS_WEBHOOK_KEYS: any;
MS_PAYOUT_COEFF: number;
MS_FEES: string;
MS_TAXES: string;
MS_PAYOUT: string;
SETUP_INTENT_USAGE: TSetupIntentUsage;
DUPLICATED_CARDS_USAGE: TDuplicatedCarsUsage;
IS_BUILD: string | boolean;
VERSION: string;
PACKAGE_NAME: string;
ENV: string;
IS_PROD: boolean;
IS_DEV: boolean;
IS_TEST: boolean;
ENVIRONMENT: string;
SRC_FOLDER: string;
MS_NAME: string;
MS_CONFIG_NAME: string;
MS_CONNECTION: string | undefined;
IS_CONNECTION_SRV: boolean;
MS_WORKERS: number;
IS_ENABLE_REMOTE_MIDDLEWARE: boolean;
IS_REMOTE_CONFIG_ENABLE: boolean;
IS_ENABLE_GRAFANA_LOG: boolean;
MS_GRAFANA_LOKI_CONFIG: any;
IS_OPENTELEMETRY_ENABLE: boolean;
IS_DISABLE_OPENTELEMETRY_TRACES: boolean;
IS_DISABLE_OPENTELEMETRY_METRICS: boolean;
MS_OPENTELEMETRY_OTLP_URL: string | undefined;
IS_OPENTELEMETRY_OTLP_URL_SRV: boolean;
IS_OPENTELEMETRY_DEBUG: boolean;
MS_CONSOLE_LOG_LEVEL: string;
IS_ENABLE_EVENTS: boolean;
DB: {
URL: string | undefined;
HOST: string;
PORT: number;
USERNAME: string;
PASSWORD: string;
DATABASE: string;
IS_REJECT_UNAUTHORIZED: boolean;
IS_FROM_CONFIG_MS: boolean;
};
};
export { constants as default };