"use strict";
// src/utils/env.ts
Object.defineProperty(exports, "__esModule", { value: true });
exports.secretKey = exports.brevoApiKey = exports.releansApiKey = exports.wpApiSecret = exports.gfApiSecret = exports.gfApiKey = exports.wcApiUrl = exports.wcConsumerSecret = exports.wcConsumerKey = exports.wpAppPassword = exports.wpUsername = exports.wpBaseUrl = void 0;
// WordPress / Gravity Forms
exports.wpBaseUrl = process.env.WP_BASE_URL || "";
exports.wpUsername = process.env.WP_USERNAME || "";
exports.wpAppPassword = (process.env.WP_APP_PASSWORD || "").replace(/"/g, "");
// WooCommerce / Fermer API
exports.wcConsumerKey = process.env.WC_CONSUMER_KEY || "";
exports.wcConsumerSecret = process.env.WC_CONSUMER_SECRET || "";
exports.wcApiUrl = process.env.WC_API_URL || "";
// Gravity Forms API
// Si ces variables ne sont pas définies, on renvoie une chaîne vide
exports.gfApiKey = process.env.GF_API_KEY || "";
exports.gfApiSecret = process.env.GF_API_SECRET || "";
// WordPress REST API Secret (sync)
exports.wpApiSecret = process.env.WP_API_SECRET || "";
// SMS Releans
exports.releansApiKey = process.env.RELEANS_API_KEY || "";
// Brevo (Sendinblue)
exports.brevoApiKey = process.env.BREVO_API_KEY || "";
// Application
exports.secretKey = process.env.SECRET || "";
