Files
api/prisma/setting-templates-from-deploy.json
T
mohmdsdgandCursor 19d28f2ed7 chore(settings): resync superadmin template after can_edit=1 runtime keys
Remove can_edit=1 keys (Montzar runtime, fee_service_charge_percentage, etc.)
from setting-templates-from-deploy.json and editable catalog list.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:55:43 +03:30

777 lines
25 KiB
JSON

[
{
"key": "accounting_provider",
"value": "none",
"title_fa": "سیستم حسابداری",
"can_edit": 0,
"is_active": 1,
"description": "none,pargar,tahesab,zarin",
"type": ""
},
{
"key": "admin_url",
"value": "",
"title_fa": "آدرس پنل ادمین",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "apk_download_link",
"value": "",
"title_fa": "لینک دانلود اپ اندروید",
"can_edit": 0,
"is_active": 1,
"description": "آدرس کامل فایل APK اندروید (https). اگر خالی باشد لینک دانلود در اپ نمایش داده نمی‌شود.",
"type": "text"
},
{
"key": "app_url",
"value": "",
"title_fa": "آدرس اپ (کاربر)",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "bale_bot_token",
"value": "",
"title_fa": "توکن بات بله",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "chart_id",
"value": "",
"title_fa": "UUID نمودار Zaarbox",
"can_edit": 0,
"is_active": 1,
"description": "خالی = UUID پیش‌فرض سرویس",
"type": "text"
},
{
"key": "chart_use_local_data",
"value": "false",
"title_fa": "نمودار از داده خود سایت",
"can_edit": 0,
"is_active": 1,
"description": "خاموش = Zaarbox (chart_id) | روشن = تاریخچه ذخیره‌شده prices",
"type": "switch"
},
{
"key": "chat_api",
"value": "",
"title_fa": "API چت",
"can_edit": 0,
"is_active": 1,
"description": "هاست سرور چت جدا (بدون https)، مثلاً chat.example.ir — برای WS و ساخت روم.",
"type": "text"
},
{
"key": "chat_api_key",
"value": "",
"title_fa": "کلید API چت",
"can_edit": 0,
"is_active": 1,
"description": "کلید API سرور چت جدا.",
"type": "text"
},
{
"key": "chat_download_url",
"value": "",
"title_fa": "آدرس دانلود فایل چت",
"can_edit": 0,
"is_active": 1,
"description": "پایهٔ URL دانلود/نمایش فایل‌های چت پشتیبانی.",
"type": "text"
},
{
"key": "chat_upload_url",
"value": "",
"title_fa": "آدرس آپلود فایل چت",
"can_edit": 0,
"is_active": 1,
"description": "URL کامل آپلود مدیا برای چت پشتیبانی.",
"type": "text"
},
{
"key": "chat_webhook_base_url",
"value": "",
"title_fa": "آدرس پایه وب‌هوک چت",
"can_edit": 0,
"is_active": 1,
"description": "اگر APP_URL فرانت است (مثلاً https://niazitala.ir) اینجا آدرس لاراول را بگذار (مثلاً https://niazitala.ir/server). خالی = همان APP_URL.",
"type": "text"
},
{
"key": "chat_webhook_secret",
"value": "",
"title_fa": "رمز وب‌هوک چت",
"can_edit": 0,
"is_active": 1,
"description": "رمز مشترک بین لاراول و سرور چت برای اعلان پیام پشتیبانی. فقط سرور؛ در صورت خالی بودن به‌صورت خودکار ساخته می‌شود.",
"type": "text"
},
{
"key": "customer_direct_sms",
"value": "false",
"title_fa": "پیامک تکی به مشتری از لیست",
"can_edit": 0,
"is_active": 1,
"description": "روشن: در لیست مشتریان دکمه ارسال پیامک تکی نمایش داده می‌شود. خاموش: مخفی است. فقط از صفحه دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "customer_special_pricing",
"value": "false",
"title_fa": "قیمت ویژه مشتری",
"can_edit": 0,
"is_active": 1,
"description": "روشن: زیرمنوی قیمت ویژه در مشتریان و اعمال سود خرید/فروش پکیج روی مظنه و سفارش برای کاربران انتخاب‌شده. خاموش: غیرفعال. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "enable_conditional_order",
"value": "false",
"title_fa": "سفارش شرطی",
"can_edit": 0,
"is_active": 1,
"description": "روشن: قابلیت سفارش شرطی سراسری فعال است. خاموش: منو و ارزیابی اجرا نمی‌شود. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "enable_customer_level_profit",
"value": "false",
"title_fa": "سود چندسطحی معرف",
"can_edit": 0,
"is_active": 1,
"description": "روشن: در لیست مشتریان آیکون تنظیم درصد سود هر سطح زیرمجموعه فعال است و پس از سفارش، سهم کارمزد طبق درصدهای هر معرف به کیف طلا واریز می‌شود. خاموش: آیکون و واریز سود چندسطحی غیرفعال است. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "enable_product_funds",
"value": "false",
"title_fa": "قلک محصول",
"can_edit": 0,
"is_active": 1,
"description": "روشن: ساخت و مدیریت قلک per-product در اپ مشتری فعال است (یک محصول در هر قلک؛ انتقال بدون سند حسابداری). خاموش: منو و API ساخت قلک جدید در دسترس نیست. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "external_order_api_enabled",
"value": "true",
"title_fa": "فعال‌سازی API سفارش خارجی (get_wallet / order)",
"can_edit": 0,
"is_active": 1,
"description": "true + node_client_id + node_shared_secret",
"type": "switch"
},
{
"key": "external_payment_base_url",
"value": "",
"title_fa": "آدرس API درگاه (BASE_URL)",
"can_edit": 0,
"is_active": 1,
"description": "آدرس پایه API سرویس Montify (بدون اسلش انتهایی)، مثلاً https://node.example.com — فقط سرور؛ در اپ کاربر ارسال نمی‌شود.",
"type": "text"
},
{
"key": "external_payment_client_id",
"value": "",
"title_fa": "شناسه کلاینت (client_id)",
"can_edit": 0,
"is_active": 1,
"description": "شناسه partner (client_id) — فقط سرور؛ در اپ کاربر یا پاسخ get_settings عمومی نیست.",
"type": "text"
},
{
"key": "external_payment_client_secret",
"value": "",
"title_fa": "رمز کلاینت (client_secret)",
"can_edit": 0,
"is_active": 1,
"description": "رمز مخفی partner (client_secret) — فقط سرور. در فرانت و Network تب کاربر دیده نمی‌شود.",
"type": "text"
},
{
"key": "external_payment_enabled",
"value": "false",
"title_fa": "فعال‌سازی شارژ آنلاین",
"can_edit": 0,
"is_active": 1,
"description": "روشن: در صورت کامل بودن BASE_URL و client_id و client_secret و gateway، دکمه پرداخت آنلاین در اپ نمایش داده می‌شود. خاموش: فقط واریز دستی.",
"type": "switch"
},
{
"key": "external_payment_gateway",
"value": "zarinpall",
"title_fa": "نام درگاه داخل Montify",
"can_edit": 0,
"is_active": 1,
"description": "نام درگاه فعال داخل Montify: zarinpall، zibal، payping یا sepal|zarinpall,zibal,payping,sepal",
"type": "select"
},
{
"key": "external_payment_return_url",
"value": "",
"title_fa": "آدرس برگشت (return_url)",
"can_edit": 0,
"is_active": 1,
"description": "آدرس صفحه فرانت بعد از پرداخت. خالی = دامنه سایت + /wallet/payment-result",
"type": "text"
},
{
"key": "external_payment_webhook_url",
"value": "",
"title_fa": "آدرس Webhook",
"can_edit": 0,
"is_active": 1,
"description": "آدرس بک‌اند برای webhook (شارژ قطعی کیف). خالی = مسیر پیش‌فرض سرور.",
"type": "text"
},
{
"key": "fee_deduct_from_gold",
"value": "false",
"title_fa": "اعمال مبلغ دقیق در معامله مشتری",
"can_edit": 0,
"is_active": 1,
"description": "روشن: مشتری دقیقاً همان مبلغ یا وزنی را که وارد کرده دریافت می‌کند. در فروش، مثلاً ۱۰۰ میلیون ریال درخواست → همان ۱۰۰ میلیون واریز و کارمزد از طلای کیف کسر می‌شود. در خرید، مثلاً ۱۰ گرم درخواست → همان ۱۰ گرم واریز و کارمزد به ریال قابل پرداخت اضافه می‌شود. خاموش (پیش‌فرض): در فروش کارمزد از مبلغ ریالی واریزی کم می‌شود (مشتری مبلغ کمتری می‌گیرد). در خرید کارمزد از وزن طلای واریزی کم می‌شود (مشتری طلای کمتری می‌گیرد).",
"type": "switch"
},
{
"key": "group_sms",
"value": "false",
"title_fa": "پیامک گروهی",
"can_edit": 0,
"is_active": 1,
"description": "روشن: دکمه ارسال پیامک گروهی در پنل ادمین فعال است (ارسال ۱۰تایی). خاموش: ارسال پیامک گروهی غیرفعال است. فقط از تنظیمات پیشرفته.",
"type": "switch"
},
{
"key": "has_page_earn_money",
"value": "false",
"title_fa": "صفحه کسب درآمد",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "switch"
},
{
"key": "has_page_gift_card",
"value": "false",
"title_fa": "کارت هدیه",
"can_edit": 0,
"is_active": 1,
"description": "روشن: منوی «ثبت کارت هدیه» و صفحه ثبت کد در اپ کاربر فعال است. خاموش: منو و صفحه مخفی است و API استفاده از کد هدیه در دسترس نیست. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "has_page_notification",
"value": "true",
"title_fa": "اعلان داخل اپ",
"can_edit": 0,
"is_active": 1,
"description": "روشن: زنگوله اعلان در اپ کاربر و منوی ثبت اعلان در ادمین فعال است. خاموش: مخفی است. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "has_page_price_trigger",
"value": "true",
"title_fa": "هشدار قیمت",
"can_edit": 0,
"is_active": 1,
"description": "روشن: منوی هشدار قیمت در اپ کاربر نمایش داده می‌شود. خاموش: منو و صفحه مخفی است. فقط از دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "is_store",
"value": "false",
"title_fa": "حالت فروشگاهی",
"can_edit": 0,
"is_active": 1,
"description": "فعال = سبد خرید، دسته‌بندی، حواله، تخفیف",
"type": "switch"
},
{
"key": "jibit_enabled",
"value": "true",
"title_fa": "احراز هویت جیبیت",
"can_edit": 0,
"is_active": 1,
"description": "روشن: سرویس احراز هویت جیبیت (تطبیق کد ملی/موبایل و کارت بانکی) فعال است. خاموش: هیچ فراخوانی به جیبیت انجام نمی‌شود و احراز هویت خودکار کار نمی‌کند. فقط از صفحه دیپلوی قابل تغییر است.",
"type": "switch"
},
{
"key": "logo_login",
"value": "",
"title_fa": "لوگوی صفحه ورود",
"can_edit": 0,
"is_active": 0,
"description": "",
"type": "text"
},
{
"key": "logo_register",
"value": "",
"title_fa": "لوگوی ثبت‌نام",
"can_edit": 0,
"is_active": 0,
"description": "",
"type": "text"
},
{
"key": "main_metal",
"value": "طلا",
"title_fa": "نام فلز اصلی (ادمین)",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "main_wallet_products",
"value": "13",
"title_fa": "محصولات متصل به کیف اصلی",
"can_edit": 0,
"is_active": 1,
"description": "محصولاتی که موجودی‌شان از کیف طلای اصلی خوانده می‌شود. چند محصول با کاما. پیش‌فرض: 13",
"type": ""
},
{
"key": "metal_type",
"value": "طلای آبشده",
"title_fa": "عنوان فلز در UI",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montify_name",
"value": "",
"title_fa": "نام فروشگاه در درگاه",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "montzar_base_url",
"value": "https://limangold.ir",
"title_fa": "آدرس سرور همکار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "node_client_id",
"value": "",
"title_fa": "شناسه کلاینت API خارجی (X-Client-Id)",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "node_shared_secret",
"value": "",
"title_fa": "کلید امضای HMAC API خارجی",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "pargar_api_token",
"value": "",
"title_fa": "توکن ثابت API پرگار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "pargar_item_id_gold",
"value": "11",
"title_fa": "کد کالای طلا پرگار",
"can_edit": 0,
"is_active": 1,
"description": "کد کالای طلا (کیف اصلی / آبشده) در پرگار برای اسناد وزن‌دار.",
"type": "number"
},
{
"key": "pargar_item_id_rial",
"value": "0",
"title_fa": "کد کالای ریال پرگار",
"can_edit": 0,
"is_active": 1,
"description": "کد کالا برای اسناد واریز/برداشت ریالی در پرگار. صفر = استفاده از کد طلا با وزن صفر.",
"type": "number"
},
{
"key": "pargar_password",
"value": "",
"title_fa": "رمز عبور API پرگار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "pargar_username",
"value": "",
"title_fa": "نام کاربری API پرگار",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "payping_fin_customer_id",
"value": "23",
"title_fa": "customer_id fin",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "number"
},
{
"key": "payping_fin_sync_enabled",
"value": "false",
"title_fa": "همگام‌سازی fin",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "switch"
},
{
"key": "payping_fin_token",
"value": "",
"title_fa": "توکن fin",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "payping_fin_url",
"value": "https://limangold.ir/kernel/admin/fin",
"title_fa": "URL fin",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "payping_gateway_items",
"value": "",
"title_fa": "لیست item (چرخشی)",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "payping_gateway_name",
"value": "",
"title_fa": "نام gateway درگاه",
"can_edit": 0,
"is_active": 1,
"description": "sepal,",
"type": "select"
},
{
"key": "payping_round_toman",
"value": "false",
"title_fa": "گرد کردن مبلغ به تومان",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "switch"
},
{
"key": "payping_start_url",
"value": "https://payping.limangold.ir/payment/start",
"title_fa": "آدرس شروع درگاه",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "payping_strict_failed_withdraw",
"value": "false",
"title_fa": "اولویت تراکنش ناموفق",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "switch"
},
{
"key": "payping_verify_url",
"value": "https://payping.limangold.ir/payment/verify",
"title_fa": "آدرس تأیید درگاه",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "permision__enabled",
"value": "false",
"title_fa": "نمایش منوی مجوزها",
"can_edit": 0,
"is_active": 1,
"description": "روشن: آیتم «مجوز ها» در منوی تنظیمات اپ خانگی (تم جدید) نمایش داده می‌شود. خاموش: مخفی است.",
"type": "switch"
},
{
"key": "price_channel_access",
"value": "false",
"title_fa": "دسترسی ارسال قیمت به کانال",
"can_edit": 0,
"is_active": 1,
"description": "روشن: گروه «ارسال قیمت به کانال» در تنظیمات عادی پنل دیده می‌شود. خاموش: مخفی است (فقط از تنظیمات پیشرفته).",
"type": "switch"
},
{
"key": "price_channel_bale_to",
"value": "",
"title_fa": "مقصد ارسال بله",
"can_edit": 0,
"is_active": 1,
"description": "آیدی چنل/گروه بله برای ارسال قیمت (چند مقصد با ویرگول).",
"type": "text"
},
{
"key": "price_channel_rubika_to",
"value": "",
"title_fa": "مقصد ارسال روبیکا",
"can_edit": 0,
"is_active": 1,
"description": "آیدی چنل/گروه روبیکا برای ارسال قیمت (چند مقصد با ویرگول).",
"type": "text"
},
{
"key": "price_channel_telegram_to",
"value": "",
"title_fa": "مقصد ارسال تلگرام",
"can_edit": 0,
"is_active": 1,
"description": "آیدی چنل/گروه تلگرام برای ارسال قیمت (چند مقصد با ویرگول).",
"type": "text"
},
{
"key": "referral_bonus_amount",
"value": "",
"title_fa": "مقدار پاداش معرف",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "rubika_bot_token",
"value": "",
"title_fa": "توکن بات روبیکا",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": ""
},
{
"key": "send_to_pargar",
"value": "false",
"title_fa": "ارسال به پرگار (قدیمی)",
"can_edit": 0,
"is_active": 0,
"description": "",
"type": ""
},
{
"key": "send_to_tahesab",
"value": "false",
"title_fa": "ارسال به ته‌حساب (قدیمی)",
"can_edit": 0,
"is_active": 0,
"description": "",
"type": ""
},
{
"key": "show_to_users_chat",
"value": "deactivate",
"title_fa": "نمایش چت به کاربران",
"can_edit": 0,
"is_active": 1,
"description": "روشن: قابلیت چت پشتیبانی برای این دیپلوی فعال است (منوی ادمین و پیش‌نیاز نمایش به کاربر). خاموش: چت در ادمین و اپ کاربر مخفی است و سوییچ «چت پشتیبانی» (has_chat) از تنظیمات عادی هم برداشته می‌شود.",
"type": "switch"
},
{
"key": "sms_panel",
"value": "true",
"title_fa": "پنل پیامک (کیف پول)",
"can_edit": 0,
"is_active": 1,
"description": "روشن: پنل پیامک و کیف پول billing فعال است. خاموش: پیامک‌ها مثل قبل ارسال می‌شوند بدون billing.",
"type": "switch"
},
{
"key": "sse_path",
"value": "/api/price/stream",
"title_fa": "مسیر SSE قیمت",
"can_edit": 0,
"is_active": 1,
"description": "GET لاراول — استریم event:last و event:list با payload کامل",
"type": "text"
},
{
"key": "tahesab_bank_account",
"value": "",
"title_fa": "حساب بانکی ته‌حساب",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "tahesab_db",
"value": "",
"title_fa": "دیتابیس ته‌حساب",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "tahesab_host",
"value": "",
"title_fa": "آدرس IP سرور ته‌حساب",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "tahesab_port",
"value": "",
"title_fa": "پورت سرور ته‌حساب",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "number"
},
{
"key": "tahesab_token",
"value": "",
"title_fa": "توکن ته‌حساب",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "telegram_bot_token",
"value": "",
"title_fa": "توکن بات تلگرام",
"can_edit": 0,
"is_active": 1,
"description": "",
"type": "text"
},
{
"key": "unit",
"value": "",
"title_fa": "واحد وزن دارایی و معاملات",
"can_edit": 0,
"is_active": 1,
"description": "واحد نمایش وزن فلز در دارایی‌ها، کیف پول و تراکنش‌ها|گرم,کیلوگرم",
"type": "select"
},
{
"key": "wallet_payment_provider",
"value": "none",
"title_fa": "نوع درگاه شارژ آنلاین",
"can_edit": 0,
"is_active": 1,
"description": "none=خاموش، montify=پارتنر Montify|none,montify",
"type": "select"
},
{
"key": "wss_enabled",
"value": "true",
"title_fa": "قیمت لحظه‌ای (SSE)",
"can_edit": 0,
"is_active": 1,
"description": "روشن: اپ به sse_path وصل می‌شود؛ خاموش: polling /api/price/last و /customer/product/list",
"type": "switch"
},
{
"key": "zarin_api",
"value": "",
"title_fa": "آدرس API زرین",
"can_edit": 0,
"is_active": 1,
"description": "آدرس پایه وب‌سرویس زرین (بدون /ZarrinService/accounting).",
"type": "text"
},
{
"key": "zarin_gorohe_kar",
"value": "52",
"title_fa": "گروه کار پیش‌فرض زرین",
"can_edit": 0,
"is_active": 1,
"description": "کد gorooheKar هنگام ساخت/جستجوی کار در زرین. برای جداسازی چند پنل روی یک زرین، برای هر پنل مقدار متفاوت بگذارید.",
"type": "number"
},
{
"key": "zarin_name_g",
"value": "مشتری نقدی (خریدار)",
"title_fa": "نام گروه حساب مشتریان زرین",
"can_edit": 0,
"is_active": 1,
"description": "پارامتر nameG در addhesab — گروه حساب زرین. برای اپ خانگی: مشتری نقدی (خریدار) = گروه ۶. گروه همکار استفاده نشود (مظنه متفاوت است).",
"type": "text"
},
{
"key": "zarin_noe_kar",
"value": "16",
"title_fa": "نوع کار پیش‌فرض زرین",
"can_edit": 0,
"is_active": 1,
"description": "کد noeKar هنگام ساخت کار ساخته در زرین. مقدار ۱۶ معمولاً گرمی است و برای sabtSanadTedadi مناسب نیست.",
"type": "number"
},
{
"key": "zarin_noe_kar_tedadi",
"value": "17",
"title_fa": "نوع کار تعدادی زرین",
"can_edit": 0,
"is_active": 1,
"description": "noeKar برای سند تعدادی (سکه/شمش/گوی/مکعب). روی زرین معمولاً ۱۷=سکه-تعدادی یا ۱۸=اجرت تعدادی. اگر خالی/نامعتبر باشد کد از ۱۷ استفاده می‌کند.",
"type": "number"
},
{
"key": "zarin_token",
"value": "",
"title_fa": "توکن زرین",
"can_edit": 0,
"is_active": 1,
"description": "توکن مکمل API زرین که در نرم‌افزار زرین تعریف می‌شود.",
"type": "text"
},
{
"key": "zarin_uid_prefix",
"value": "",
"title_fa": "پیشوند عددی uid زرین",
"can_edit": 0,
"is_active": 1,
"description": "فقط عدد. وقتی چند پنل یک زرین دارند باید متفاوت باشد تا uid تکراری نشود.",
"type": "text"
}
]