forked from hesabix/arc
706 lines
42 KiB
Python
706 lines
42 KiB
Python
"""
|
||
کلیدهای i18n برای نام ابزارهای AI (هماهنگ با app_*.arb در Flutter).
|
||
"""
|
||
from __future__ import annotations
|
||
|
||
from typing import Dict, Optional
|
||
|
||
# function_name -> l10n key (بدون پیشوند؛ در UI با aiTool* map میشود)
|
||
TOOL_L10N_KEYS: Dict[str, str] = {
|
||
"get_business_info": "aiToolGetBusinessInfo",
|
||
"search_invoices": "aiToolSearchInvoices",
|
||
"get_invoice_details": "aiToolGetInvoiceDetails",
|
||
"get_invoices_count": "aiToolGetInvoicesCount",
|
||
"create_invoice": "aiToolCreateInvoice",
|
||
"search_products": "aiToolSearchProducts",
|
||
"get_product_info": "aiToolGetProductInfo",
|
||
"get_inventory_status": "aiToolGetInventoryStatus",
|
||
"get_product_kardex": "aiToolGetProductKardex",
|
||
"get_customer_info": "aiToolGetCustomerInfo",
|
||
"search_persons": "aiToolSearchPersons",
|
||
"get_person_balance": "aiToolGetPersonBalance",
|
||
"create_person": "aiToolCreatePerson",
|
||
"update_person": "aiToolUpdatePerson",
|
||
"get_financial_summary": "aiToolGetFinancialSummary",
|
||
"get_debtors_report": "aiToolGetDebtorsReport",
|
||
"get_creditors_report": "aiToolGetCreditorsReport",
|
||
"search_receipts_payments": "aiToolSearchReceiptsPayments",
|
||
"create_receipt_payment": "aiToolCreateReceiptPayment",
|
||
"get_sales_report": "aiToolGetSalesReport",
|
||
"get_purchase_report": "aiToolGetPurchaseReport",
|
||
"get_inventory_valuation": "aiToolGetInventoryValuation",
|
||
"get_cash_flow": "aiToolGetCashFlow",
|
||
"search_leads": "aiToolSearchLeads",
|
||
"get_lead_details": "aiToolGetLeadDetails",
|
||
"search_deals": "aiToolSearchDeals",
|
||
"get_deal_details": "aiToolGetDealDetails",
|
||
"search_activities": "aiToolSearchActivities",
|
||
"get_crm_summary": "aiToolGetCrmSummary",
|
||
"get_pipeline_report": "aiToolGetPipelineReport",
|
||
"get_lead_funnel_report": "aiToolGetLeadFunnelReport",
|
||
"invoke_business_connector": "aiToolInvokeConnector",
|
||
"query_business_data": "aiToolQueryBusinessData",
|
||
"search_warehouse_documents": "aiToolSearchWarehouseDocuments",
|
||
"get_warehouse_document_details": "aiToolGetWarehouseDocumentDetails",
|
||
"list_warehouses": "aiToolListWarehouses",
|
||
"create_warehouse_document": "aiToolCreateWarehouseDocument",
|
||
"get_warehouse_stock_summary": "aiToolGetWarehouseStockSummary",
|
||
"search_checks": "aiToolSearchChecks",
|
||
"get_check_details": "aiToolGetCheckDetails",
|
||
"search_transfers": "aiToolSearchTransfers",
|
||
"search_expense_income": "aiToolSearchExpenseIncome",
|
||
"search_documents": "aiToolSearchDocuments",
|
||
"get_document_details": "aiToolGetDocumentDetails",
|
||
"get_document_types_summary": "aiToolGetDocumentTypesSummary",
|
||
"create_manual_document": "aiToolCreateManualDocument",
|
||
"update_manual_document": "aiToolUpdateManualDocument",
|
||
"delete_manual_document": "aiToolDeleteManualDocument",
|
||
"bulk_delete_manual_documents": "aiToolBulkDeleteManualDocuments",
|
||
"list_bank_accounts": "aiToolListBankAccounts",
|
||
"get_bank_account": "aiToolGetBankAccount",
|
||
"create_bank_account": "aiToolCreateBankAccount",
|
||
"update_bank_account": "aiToolUpdateBankAccount",
|
||
"delete_bank_account": "aiToolDeleteBankAccount",
|
||
"bulk_delete_bank_accounts": "aiToolBulkDeleteBankAccounts",
|
||
"list_cash_registers": "aiToolListCashRegisters",
|
||
"get_cash_register": "aiToolGetCashRegister",
|
||
"create_cash_register": "aiToolCreateCashRegister",
|
||
"update_cash_register": "aiToolUpdateCashRegister",
|
||
"delete_cash_register": "aiToolDeleteCashRegister",
|
||
"bulk_delete_cash_registers": "aiToolBulkDeleteCashRegisters",
|
||
"get_petty_cash": "aiToolGetPettyCash",
|
||
"create_petty_cash": "aiToolCreatePettyCash",
|
||
"update_petty_cash": "aiToolUpdatePettyCash",
|
||
"delete_petty_cash": "aiToolDeletePettyCash",
|
||
"bulk_delete_petty_cash": "aiToolBulkDeletePettyCash",
|
||
"upsert_opening_balance": "aiToolUpsertOpeningBalance",
|
||
"preview_opening_balance": "aiToolPreviewOpeningBalance",
|
||
"post_opening_balance": "aiToolPostOpeningBalance",
|
||
"unpost_opening_balance": "aiToolUnpostOpeningBalance",
|
||
"list_fiscal_years": "aiToolListFiscalYears",
|
||
"get_current_fiscal_year": "aiToolGetCurrentFiscalYear",
|
||
"get_business_dashboard": "aiToolGetBusinessDashboard",
|
||
"get_person_transactions": "aiToolGetPersonTransactions",
|
||
"search_projects": "aiToolSearchProjects",
|
||
"get_project_summary": "aiToolGetProjectSummary",
|
||
"list_boms": "aiToolListBoms",
|
||
"get_bom_details": "aiToolGetBomDetails",
|
||
"search_production_documents": "aiToolSearchProductionDocuments",
|
||
"search_repair_orders": "aiToolSearchRepairOrders",
|
||
"get_repair_order_details": "aiToolGetRepairOrderDetails",
|
||
"get_tax_settings": "aiToolGetTaxSettings",
|
||
"search_tax_workspace": "aiToolSearchTaxWorkspace",
|
||
"get_tax_data_quality": "aiToolGetTaxDataQuality",
|
||
"list_workflows": "aiToolListWorkflows",
|
||
"list_workflow_executions": "aiToolListWorkflowExecutions",
|
||
"list_distribution_routes": "aiToolListDistributionRoutes",
|
||
"search_warranty_codes": "aiToolSearchWarrantyCodes",
|
||
"list_petty_cash": "aiToolListPettyCash",
|
||
"get_customer_club_settings": "aiToolGetCustomerClubSettings",
|
||
"list_customer_club_tiers": "aiToolListCustomerClubTiers",
|
||
"list_customer_club_ledger": "aiToolListCustomerClubLedger",
|
||
"get_customer_club_rfm_summary": "aiToolGetCustomerClubRfmSummary",
|
||
"search_customer_club_rfm_persons": "aiToolSearchCustomerClubRfmPersons",
|
||
"get_quick_sales_settings": "aiToolGetQuickSalesSettings",
|
||
"list_price_lists": "aiToolListPriceLists",
|
||
"list_price_list_items": "aiToolListPriceListItems",
|
||
"search_activity_logs": "aiToolSearchActivityLogs",
|
||
"get_opening_balance": "aiToolGetOpeningBalance",
|
||
"get_business_credit_settings": "aiToolGetBusinessCreditSettings",
|
||
"list_credit_installment_plans": "aiToolListCreditInstallmentPlans",
|
||
"get_person_credit": "aiToolGetPersonCredit",
|
||
"list_woocommerce_orders": "aiToolListWooCommerceOrders",
|
||
"list_woocommerce_products": "aiToolListWooCommerceProducts",
|
||
"list_basalam_synced_invoices": "aiToolListBasalamSyncedInvoices",
|
||
"list_basalam_product_conflicts": "aiToolListBasalamProductConflicts",
|
||
"batch_query_business_data": "aiToolBatchQueryBusinessData",
|
||
"get_report": "aiToolGetReport",
|
||
"search_categories": "aiToolSearchCategories",
|
||
"list_person_groups": "aiToolListPersonGroups",
|
||
"list_currencies": "aiToolListCurrencies",
|
||
"delete_person": "aiToolDeletePerson",
|
||
"create_product": "aiToolCreateProduct",
|
||
"update_product": "aiToolUpdateProduct",
|
||
"create_check": "aiToolCreateCheck",
|
||
"create_transfer": "aiToolCreateTransfer",
|
||
"create_expense_income": "aiToolCreateExpenseIncome",
|
||
"update_expense_income": "aiToolUpdateExpenseIncome",
|
||
"update_receipt_payment": "aiToolUpdateReceiptPayment",
|
||
"update_invoice": "aiToolUpdateInvoice",
|
||
"delete_invoice": "aiToolDeleteInvoice",
|
||
"create_lead": "aiToolCreateLead",
|
||
"execute_workflow": "aiToolExecuteWorkflow",
|
||
"list_workflow_trigger_catalog": "aiToolListWorkflowTriggerCatalog",
|
||
"list_workflow_action_catalog": "aiToolListWorkflowActionCatalog",
|
||
"list_workflow_builtin_nodes": "aiToolListWorkflowBuiltinNodes",
|
||
"get_workflow_component_schema": "aiToolGetWorkflowComponentSchema",
|
||
"get_workflow_design_rules": "aiToolGetWorkflowDesignRules",
|
||
"validate_workflow_draft": "aiToolValidateWorkflowDraft",
|
||
"get_workflow": "aiToolGetWorkflow",
|
||
"create_workflow": "aiToolCreateWorkflow",
|
||
"update_workflow": "aiToolUpdateWorkflow",
|
||
"delete_workflow": "aiToolDeleteWorkflow",
|
||
"test_workflow": "aiToolTestWorkflow",
|
||
"get_workflow_execution_debug": "aiToolGetWorkflowExecutionDebug",
|
||
"poll_workflow_execution": "aiToolPollWorkflowExecution",
|
||
"export_business_data": "aiToolExportBusinessData",
|
||
"list_queryable_fields": "aiToolListQueryableFields",
|
||
"resolve_date_range": "aiToolResolveDateRange",
|
||
"get_user_memory": "aiToolGetUserMemory",
|
||
"update_user_memory": "aiToolUpdateUserMemory",
|
||
"list_memory_items": "aiToolListMemoryItems",
|
||
"upsert_memory_item": "aiToolUpsertMemoryItem",
|
||
"delete_memory_item": "aiToolDeleteMemoryItem",
|
||
"read_memory": "aiToolGetUserMemory",
|
||
"upsert_memory_entry": "aiToolUpsertMemoryItem",
|
||
"delete_memory_entry": "aiToolDeleteMemoryItem",
|
||
"list_available_reports": "aiToolListAvailableReports",
|
||
"list_mcp_categories": "aiToolListMcpCategories",
|
||
"search_mcp_tools": "aiToolSearchMcpTools",
|
||
"list_report_templates": "aiToolListReportTemplates",
|
||
"get_report_template": "aiToolGetReportTemplate",
|
||
"get_report_template_scope_catalog": "aiToolGetReportTemplateScopeCatalog",
|
||
"set_default_report_template": "aiToolSetDefaultReportTemplate",
|
||
"publish_report_template": "aiToolPublishReportTemplate",
|
||
"list_marketplace_plugins": "aiToolListMarketplacePlugins",
|
||
"list_business_plugins": "aiToolListBusinessPlugins",
|
||
"get_basalam_overview": "aiToolGetBasalamOverview",
|
||
"list_basalam_dead_letter": "aiToolListBasalamDeadLetter",
|
||
"adjust_customer_club_points": "aiToolAdjustCustomerClubPoints",
|
||
"recalculate_customer_club_rfm": "aiToolRecalculateCustomerClubRfm",
|
||
"update_customer_club_settings": "aiToolUpdateCustomerClubSettings",
|
||
"spawn_subagent": "aiToolSpawnSubagent",
|
||
"await_subagent": "aiToolAwaitSubagent",
|
||
"cancel_subagent": "aiToolCancelSubagent",
|
||
"get_fixed_asset_settings": "aiToolGetFixedAssetSettings",
|
||
"update_fixed_asset_settings": "aiToolUpdateFixedAssetSettings",
|
||
"get_fixed_assets_dashboard": "aiToolGetFixedAssetsDashboard",
|
||
"list_fixed_asset_classes": "aiToolListFixedAssetClasses",
|
||
"update_fixed_asset_class": "aiToolUpdateFixedAssetClass",
|
||
"list_fixed_asset_locations": "aiToolListFixedAssetLocations",
|
||
"create_fixed_asset_location": "aiToolCreateFixedAssetLocation",
|
||
"update_fixed_asset_location": "aiToolUpdateFixedAssetLocation",
|
||
"list_fixed_assets": "aiToolListFixedAssets",
|
||
"get_fixed_asset": "aiToolGetFixedAsset",
|
||
"create_fixed_asset": "aiToolCreateFixedAsset",
|
||
"update_fixed_asset": "aiToolUpdateFixedAsset",
|
||
"delete_fixed_asset": "aiToolDeleteFixedAsset",
|
||
"capitalize_fixed_asset": "aiToolCapitalizeFixedAsset",
|
||
"set_fixed_asset_idle": "aiToolSetFixedAssetIdle",
|
||
"resume_fixed_asset": "aiToolResumeFixedAsset",
|
||
"dispose_fixed_asset": "aiToolDisposeFixedAsset",
|
||
"post_fixed_asset_expenditure": "aiToolPostFixedAssetExpenditure",
|
||
"change_fixed_asset_estimate": "aiToolChangeFixedAssetEstimate",
|
||
"list_fixed_asset_depreciation_runs": "aiToolListFixedAssetDepreciationRuns",
|
||
"get_fixed_asset_depreciation_run": "aiToolGetFixedAssetDepreciationRun",
|
||
"create_fixed_asset_depreciation_run": "aiToolCreateFixedAssetDepreciationRun",
|
||
"post_fixed_asset_depreciation_run": "aiToolPostFixedAssetDepreciationRun",
|
||
"delete_fixed_asset_depreciation_run": "aiToolDeleteFixedAssetDepreciationRun",
|
||
"get_fixed_asset_report": "aiToolGetFixedAssetReport",
|
||
"get_telephony_settings": "aiToolGetTelephonySettings",
|
||
"update_telephony_settings": "aiToolUpdateTelephonySettings",
|
||
"get_telephony_dashboard": "aiToolGetTelephonyDashboard",
|
||
"list_telephony_pbx": "aiToolListTelephonyPbx",
|
||
"update_telephony_pbx": "aiToolUpdateTelephonyPbx",
|
||
"list_telephony_extensions": "aiToolListTelephonyExtensions",
|
||
"upsert_telephony_extension": "aiToolUpsertTelephonyExtension",
|
||
"list_telephony_user_extensions": "aiToolListTelephonyUserExtensions",
|
||
"upsert_telephony_user_extension": "aiToolUpsertTelephonyUserExtension",
|
||
"delete_telephony_user_extension": "aiToolDeleteTelephonyUserExtension",
|
||
"list_telephony_calls": "aiToolListTelephonyCalls",
|
||
"get_telephony_call": "aiToolGetTelephonyCall",
|
||
"update_telephony_call": "aiToolUpdateTelephonyCall",
|
||
"create_person_from_telephony_call": "aiToolCreatePersonFromTelephonyCall",
|
||
"create_lead_from_telephony_call": "aiToolCreateLeadFromTelephonyCall",
|
||
"click_to_call": "aiToolClickToCall",
|
||
"lookup_telephony_number": "aiToolLookupTelephonyNumber",
|
||
"get_telephony_reports_summary": "aiToolGetTelephonyReportsSummary",
|
||
"list_barcode_label_templates": "aiToolListBarcodeLabelTemplates",
|
||
"get_barcode_label_template": "aiToolGetBarcodeLabelTemplate",
|
||
"get_default_barcode_label_template": "aiToolGetDefaultBarcodeLabelTemplate",
|
||
"set_default_barcode_label_template": "aiToolSetDefaultBarcodeLabelTemplate",
|
||
"create_barcode_label_from_preset": "aiToolCreateBarcodeLabelFromPreset",
|
||
"publish_barcode_label_template": "aiToolPublishBarcodeLabelTemplate",
|
||
"archive_barcode_label_template": "aiToolArchiveBarcodeLabelTemplate",
|
||
"duplicate_barcode_label_template": "aiToolDuplicateBarcodeLabelTemplate",
|
||
"list_barcode_label_presets": "aiToolListBarcodeLabelPresets",
|
||
"get_barcode_label_printer_settings": "aiToolGetBarcodeLabelPrinterSettings",
|
||
"update_barcode_label_printer_settings": "aiToolUpdateBarcodeLabelPrinterSettings",
|
||
"update_business_info": "aiToolUpdateBusinessInfo",
|
||
"update_document_numbering_settings": "aiToolUpdateDocumentNumberingSettings",
|
||
"create_project": "aiToolCreateProject",
|
||
"update_project": "aiToolUpdateProject",
|
||
"delete_project": "aiToolDeleteProject",
|
||
"list_project_documents": "aiToolListProjectDocuments",
|
||
"get_person_group": "aiToolGetPersonGroup",
|
||
"create_person_group": "aiToolCreatePersonGroup",
|
||
"update_person_group": "aiToolUpdatePersonGroup",
|
||
"delete_person_group": "aiToolDeletePersonGroup",
|
||
"update_credit_settings": "aiToolUpdateCreditSettings",
|
||
"get_credit_installment_plan": "aiToolGetCreditInstallmentPlan",
|
||
"create_credit_installment_plan": "aiToolCreateCreditInstallmentPlan",
|
||
"update_credit_installment_plan": "aiToolUpdateCreditInstallmentPlan",
|
||
"delete_credit_installment_plan": "aiToolDeleteCreditInstallmentPlan",
|
||
"update_person_credit": "aiToolUpdatePersonCredit",
|
||
"search_product_bundles": "aiToolSearchProductBundles",
|
||
"get_product_bundle": "aiToolGetProductBundle",
|
||
"create_product_bundle": "aiToolCreateProductBundle",
|
||
"update_product_bundle": "aiToolUpdateProductBundle",
|
||
"delete_product_bundle": "aiToolDeleteProductBundle",
|
||
"expand_product_bundle": "aiToolExpandProductBundle",
|
||
"get_price_list": "aiToolGetPriceList",
|
||
"create_price_list": "aiToolCreatePriceList",
|
||
"update_price_list": "aiToolUpdatePriceList",
|
||
"delete_price_list": "aiToolDeletePriceList",
|
||
"upsert_price_list_item": "aiToolUpsertPriceListItem",
|
||
"delete_price_list_item": "aiToolDeletePriceListItem",
|
||
"get_product_category_tree": "aiToolGetProductCategoryTree",
|
||
"create_product_category": "aiToolCreateProductCategory",
|
||
"update_product_category": "aiToolUpdateProductCategory",
|
||
"move_product_category": "aiToolMoveProductCategory",
|
||
"delete_product_category": "aiToolDeleteProductCategory",
|
||
"get_available_product_instances": "aiToolGetAvailableProductInstances",
|
||
"create_product_instance": "aiToolCreateProductInstance",
|
||
"update_product_instance": "aiToolUpdateProductInstance",
|
||
"delete_product_instance": "aiToolDeleteProductInstance",
|
||
"get_warehouse": "aiToolGetWarehouse",
|
||
"create_warehouse": "aiToolCreateWarehouse",
|
||
"update_warehouse": "aiToolUpdateWarehouse",
|
||
"delete_warehouse": "aiToolDeleteWarehouse",
|
||
"create_warehouse_location": "aiToolCreateWarehouseLocation",
|
||
"update_warehouse_location": "aiToolUpdateWarehouseLocation",
|
||
"delete_warehouse_location": "aiToolDeleteWarehouseLocation",
|
||
"create_warehouse_placement": "aiToolCreateWarehousePlacement",
|
||
"update_warehouse_placement": "aiToolUpdateWarehousePlacement",
|
||
"delete_warehouse_placement": "aiToolDeleteWarehousePlacement",
|
||
"reconcile_warehouse_placements": "aiToolReconcileWarehousePlacements",
|
||
"create_frequent_description": "aiToolCreateFrequentDescription",
|
||
"update_frequent_description": "aiToolUpdateFrequentDescription",
|
||
"delete_frequent_description": "aiToolDeleteFrequentDescription",
|
||
"list_catalog_spec_fields": "aiToolListCatalogSpecFields",
|
||
"get_catalog_spec_field": "aiToolGetCatalogSpecField",
|
||
"create_catalog_spec_field": "aiToolCreateCatalogSpecField",
|
||
"update_catalog_spec_field": "aiToolUpdateCatalogSpecField",
|
||
"delete_catalog_spec_field": "aiToolDeleteCatalogSpecField",
|
||
"list_currency_rates": "aiToolListCurrencyRates",
|
||
"get_latest_currency_rates": "aiToolGetLatestCurrencyRates",
|
||
"resolve_currency_rate": "aiToolResolveCurrencyRate",
|
||
"create_currency_rate": "aiToolCreateCurrencyRate",
|
||
"update_currency_rate": "aiToolUpdateCurrencyRate",
|
||
"delete_currency_rate": "aiToolDeleteCurrencyRate",
|
||
"add_business_currency": "aiToolAddBusinessCurrency",
|
||
"remove_business_currency": "aiToolRemoveBusinessCurrency",
|
||
"create_loan_facility": "aiToolCreateLoanFacility",
|
||
"update_loan_facility": "aiToolUpdateLoanFacility",
|
||
"delete_loan_facility": "aiToolDeleteLoanFacility",
|
||
"regenerate_loan_schedule": "aiToolRegenerateLoanSchedule",
|
||
"record_loan_payment": "aiToolRecordLoanPayment",
|
||
"delete_loan_payment": "aiToolDeleteLoanPayment",
|
||
"create_fiscal_year": "aiToolCreateFiscalYear",
|
||
"update_current_fiscal_year": "aiToolUpdateCurrentFiscalYear",
|
||
"set_current_fiscal_year": "aiToolSetCurrentFiscalYear",
|
||
"preview_year_end_closing": "aiToolPreviewYearEndClosing",
|
||
"close_fiscal_year": "aiToolCloseFiscalYear",
|
||
"preview_fiscal_year_rollback": "aiToolPreviewFiscalYearRollback",
|
||
"execute_fiscal_year_rollback": "aiToolExecuteFiscalYearRollback",
|
||
"enqueue_quick_sale": "aiToolEnqueueQuickSale",
|
||
"get_quick_sale_job": "aiToolGetQuickSaleJob",
|
||
"update_quick_sales_settings": "aiToolUpdateQuickSalesSettings",
|
||
"list_quick_sales_payment_buttons": "aiToolListQuickSalesPaymentButtons",
|
||
"create_quick_sales_payment_button": "aiToolCreateQuickSalesPaymentButton",
|
||
"update_quick_sales_payment_button": "aiToolUpdateQuickSalesPaymentButton",
|
||
"delete_quick_sales_payment_button": "aiToolDeleteQuickSalesPaymentButton",
|
||
"reorder_quick_sales_payment_buttons": "aiToolReorderQuickSalesPaymentButtons",
|
||
"list_quick_sales_stock_discrepancies": "aiToolListQuickSalesStockDiscrepancies",
|
||
"create_quick_sales_stock_correction": "aiToolCreateQuickSalesStockCorrection",
|
||
"list_customer_club_tiers": "aiToolListCustomerClubTiers",
|
||
"replace_customer_club_tiers": "aiToolReplaceCustomerClubTiers",
|
||
"list_customer_club_rewards": "aiToolListCustomerClubRewards",
|
||
"save_customer_club_reward": "aiToolSaveCustomerClubReward",
|
||
"redeem_customer_club_reward": "aiToolRedeemCustomerClubReward",
|
||
"list_customer_club_vouchers": "aiToolListCustomerClubVouchers",
|
||
"set_customer_club_consent": "aiToolSetCustomerClubConsent",
|
||
"submit_customer_club_survey": "aiToolSubmitCustomerClubSurvey",
|
||
"get_customer_club_member_profile": "aiToolGetCustomerClubMemberProfile",
|
||
"preview_customer_club_segment": "aiToolPreviewCustomerClubSegment",
|
||
"list_customer_club_campaigns": "aiToolListCustomerClubCampaigns",
|
||
"save_customer_club_campaign": "aiToolSaveCustomerClubCampaign",
|
||
"run_customer_club_campaign": "aiToolRunCustomerClubCampaign",
|
||
"get_customer_club_campaign_stats": "aiToolGetCustomerClubCampaignStats",
|
||
"get_business_notification_template": "aiToolGetBusinessNotificationTemplate",
|
||
"create_business_notification_template": "aiToolCreateBusinessNotificationTemplate",
|
||
"update_business_notification_template": "aiToolUpdateBusinessNotificationTemplate",
|
||
"submit_business_notification_template": "aiToolSubmitBusinessNotificationTemplate",
|
||
"preview_business_notification_template": "aiToolPreviewBusinessNotificationTemplate",
|
||
"send_business_notification": "aiToolSendBusinessNotification",
|
||
"get_goods_expense_income_settings": "aiToolGetGoodsExpenseIncomeSettings",
|
||
"list_goods_expense_income": "aiToolListGoodsExpenseIncome",
|
||
"get_goods_expense_income": "aiToolGetGoodsExpenseIncome",
|
||
"create_goods_expense_income": "aiToolCreateGoodsExpenseIncome",
|
||
"update_goods_expense_income": "aiToolUpdateGoodsExpenseIncome",
|
||
"submit_goods_expense_income": "aiToolSubmitGoodsExpenseIncome",
|
||
"allocate_goods_expense_income": "aiToolAllocateGoodsExpenseIncome",
|
||
"post_goods_expense_income": "aiToolPostGoodsExpenseIncome",
|
||
"cancel_goods_expense_income": "aiToolCancelGoodsExpenseIncome",
|
||
"delete_goods_expense_income": "aiToolDeleteGoodsExpenseIncome",
|
||
}
|
||
|
||
# برچسب فارسی fallback برای پیامهای سیستمی (تأیید نوشتن و غیره)
|
||
TOOL_LABELS_FA: Dict[str, str] = {
|
||
"get_business_info": "اطلاعات کسبوکار",
|
||
"search_invoices": "جستجوی فاکتور",
|
||
"get_invoice_details": "جزئیات فاکتور",
|
||
"get_invoices_count": "شمارش فاکتورها",
|
||
"create_invoice": "ثبت فاکتور",
|
||
"search_products": "جستجوی کالا",
|
||
"get_product_info": "اطلاعات کالا",
|
||
"get_inventory_status": "وضعیت موجودی",
|
||
"get_product_kardex": "کاردکس کالا",
|
||
"get_customer_info": "اطلاعات مشتری",
|
||
"search_persons": "جستجوی اشخاص",
|
||
"get_person_balance": "مانده شخص",
|
||
"create_person": "ایجاد شخص",
|
||
"update_person": "ویرایش شخص",
|
||
"get_financial_summary": "خلاصه مالی",
|
||
"get_debtors_report": "گزارش بدهکاران",
|
||
"get_creditors_report": "گزارش بستانکاران",
|
||
"search_receipts_payments": "جستجوی دریافت/پرداخت",
|
||
"create_receipt_payment": "ثبت دریافت/پرداخت",
|
||
"update_receipt_payment": "ویرایش دریافت/پرداخت",
|
||
"get_sales_report": "گزارش فروش",
|
||
"get_purchase_report": "گزارش خرید",
|
||
"get_inventory_valuation": "ارزش موجودی",
|
||
"get_cash_flow": "جریان نقدی",
|
||
"search_leads": "جستجوی سرنخ",
|
||
"get_lead_details": "جزئیات سرنخ",
|
||
"search_deals": "جستجوی فرصت",
|
||
"get_deal_details": "جزئیات فرصت",
|
||
"search_activities": "جستجوی فعالیت",
|
||
"get_crm_summary": "خلاصه CRM",
|
||
"get_pipeline_report": "گزارش قیف فروش",
|
||
"get_lead_funnel_report": "گزارش قیف سرنخ",
|
||
"invoke_business_connector": "فراخوانی کانکتور",
|
||
"query_business_data": "پرسوجوی داده",
|
||
"search_warehouse_documents": "جستجوی حواله انبار",
|
||
"get_warehouse_document_details": "جزئیات حواله انبار",
|
||
"list_warehouses": "لیست انبارها",
|
||
"create_warehouse_document": "ثبت حواله انبار",
|
||
"get_warehouse_stock_summary": "خلاصه موجودی انبار",
|
||
"search_checks": "جستجوی چک",
|
||
"get_check_details": "جزئیات چک",
|
||
"search_transfers": "جستجوی انتقال",
|
||
"search_expense_income": "جستجوی هزینه/درآمد",
|
||
"search_documents": "جستجوی اسناد",
|
||
"get_document_details": "جزئیات سند",
|
||
"get_document_types_summary": "خلاصه انواع سند",
|
||
"create_manual_document": "ثبت سند دستی",
|
||
"update_manual_document": "ویرایش سند دستی",
|
||
"delete_manual_document": "حذف سند دستی",
|
||
"bulk_delete_manual_documents": "حذف گروهی سند دستی",
|
||
"list_bank_accounts": "لیست حساب بانکی",
|
||
"get_bank_account": "جزئیات حساب بانکی",
|
||
"create_bank_account": "ثبت حساب بانکی",
|
||
"update_bank_account": "ویرایش حساب بانکی",
|
||
"delete_bank_account": "حذف حساب بانکی",
|
||
"bulk_delete_bank_accounts": "حذف گروهی حساب بانکی",
|
||
"list_cash_registers": "لیست صندوق",
|
||
"get_cash_register": "جزئیات صندوق",
|
||
"create_cash_register": "ثبت صندوق",
|
||
"update_cash_register": "ویرایش صندوق",
|
||
"delete_cash_register": "حذف صندوق",
|
||
"bulk_delete_cash_registers": "حذف گروهی صندوق",
|
||
"get_petty_cash": "جزئیات تنخواه",
|
||
"create_petty_cash": "ثبت تنخواه",
|
||
"update_petty_cash": "ویرایش تنخواه",
|
||
"delete_petty_cash": "حذف تنخواه",
|
||
"bulk_delete_petty_cash": "حذف گروهی تنخواه",
|
||
"upsert_opening_balance": "ذخیره تراز افتتاحیه",
|
||
"preview_opening_balance": "پیشنمایش تراز افتتاحیه",
|
||
"post_opening_balance": "نهاییسازی تراز افتتاحیه",
|
||
"unpost_opening_balance": "لغو نهاییسازی افتتاحیه",
|
||
"list_fiscal_years": "لیست سال مالی",
|
||
"get_current_fiscal_year": "سال مالی جاری",
|
||
"get_business_dashboard": "داشبورد کسبوکار",
|
||
"get_person_transactions": "معین جامع حساب شخص",
|
||
"search_projects": "جستجوی پروژه",
|
||
"get_project_summary": "خلاصه پروژه",
|
||
"list_boms": "لیست BOM",
|
||
"get_bom_details": "جزئیات BOM",
|
||
"search_production_documents": "اسناد تولید",
|
||
"search_repair_orders": "سفارش تعمیر",
|
||
"get_repair_order_details": "جزئیات تعمیر",
|
||
"get_tax_settings": "تنظیمات مالیاتی",
|
||
"search_tax_workspace": "کارپوشه مودیان",
|
||
"get_tax_data_quality": "کیفیت داده مالیاتی",
|
||
"list_workflows": "لیست workflow",
|
||
"list_workflow_executions": "اجراهای workflow",
|
||
"list_distribution_routes": "مسیرهای توزیع",
|
||
"search_warranty_codes": "کدهای گارانتی",
|
||
"list_petty_cash": "صندوق خرد",
|
||
"get_customer_club_settings": "تنظیمات باشگاه مشتری",
|
||
"list_customer_club_tiers": "سطوح باشگاه مشتری",
|
||
"list_customer_club_ledger": "گردش امتیاز باشگاه",
|
||
"get_customer_club_rfm_summary": "خلاصه RFM",
|
||
"search_customer_club_rfm_persons": "جستجوی RFM",
|
||
"get_quick_sales_settings": "تنظیمات فروش سریع",
|
||
"list_price_lists": "لیست قیمت",
|
||
"list_price_list_items": "اقلام لیست قیمت",
|
||
"search_activity_logs": "لاگ فعالیت",
|
||
"get_opening_balance": "تراز افتتاحیه",
|
||
"get_business_credit_settings": "تنظیمات اعتبار",
|
||
"list_credit_installment_plans": "طرح اقساط",
|
||
"get_person_credit": "اعتبار مشتری",
|
||
"list_woocommerce_orders": "سفارش ووکامرس",
|
||
"list_woocommerce_products": "محصول ووکامرس",
|
||
"list_basalam_synced_invoices": "فاکتور باسلام",
|
||
"list_basalam_product_conflicts": "تعارض محصول باسلام",
|
||
"batch_query_business_data": "پرسوجوی دستهای",
|
||
"get_report": "گزارش یکپارچه",
|
||
"search_categories": "جستجوی دستهبندی",
|
||
"list_person_groups": "گروههای اشخاص",
|
||
"list_currencies": "لیست ارزها",
|
||
"delete_person": "حذف شخص",
|
||
"create_product": "ایجاد کالا",
|
||
"update_product": "ویرایش کالا",
|
||
"create_check": "ثبت چک",
|
||
"create_transfer": "ثبت انتقال",
|
||
"create_expense_income": "ثبت هزینه/درآمد",
|
||
"update_expense_income": "ویرایش هزینه/درآمد",
|
||
"update_invoice": "ویرایش فاکتور",
|
||
"delete_invoice": "حذف فاکتور",
|
||
"create_lead": "ایجاد سرنخ CRM",
|
||
"execute_workflow": "اجرای workflow",
|
||
"list_workflow_trigger_catalog": "کاتالوگ تریگرهای اتوماسیون",
|
||
"list_workflow_action_catalog": "کاتالوگ اکشنهای اتوماسیون",
|
||
"list_workflow_builtin_nodes": "نودهای شرط و حلقه",
|
||
"get_workflow_component_schema": "schema جزء workflow",
|
||
"get_workflow_design_rules": "قوانین طراحی workflow",
|
||
"validate_workflow_draft": "اعتبارسنجی workflow",
|
||
"get_workflow": "دریافت workflow",
|
||
"create_workflow": "ایجاد اتوماسیون",
|
||
"update_workflow": "ویرایش اتوماسیون",
|
||
"delete_workflow": "حذف اتوماسیون",
|
||
"test_workflow": "تست اتوماسیون",
|
||
"get_workflow_execution_debug": "دیباگ اجرای workflow",
|
||
"poll_workflow_execution": "پیگیری اجرای workflow",
|
||
"export_business_data": "خروجی داده",
|
||
"list_queryable_fields": "فیلدهای قابل جستجو",
|
||
"resolve_date_range": "تبدیل بازهٔ تاریخ",
|
||
"get_user_memory": "خواندن حافظه دستیار",
|
||
"update_user_memory": "بهروزرسانی دستورات همیشگی",
|
||
"list_memory_items": "فهرست حافظه یادگرفتهشده",
|
||
"upsert_memory_item": "ذخیره حقیقت در حافظه",
|
||
"delete_memory_item": "حذف حقیقت از حافظه",
|
||
"read_memory": "خواندن حافظه دستیار",
|
||
"upsert_memory_entry": "ذخیره در حافظه",
|
||
"delete_memory_entry": "حذف از حافظه",
|
||
"list_available_reports": "فهرست گزارشهای مجاز",
|
||
"list_mcp_categories": "دستههای ابزار مجاز",
|
||
"search_mcp_tools": "جستجوی ابزار مجاز",
|
||
"list_report_templates": "لیست قالب گزارش",
|
||
"get_report_template": "جزئیات قالب گزارش",
|
||
"get_report_template_scope_catalog": "کاتالوگ scope قالب",
|
||
"set_default_report_template": "قالب پیشفرض",
|
||
"publish_report_template": "انتشار قالب گزارش",
|
||
"list_marketplace_plugins": "کاتالوگ افزونهها",
|
||
"list_business_plugins": "افزونههای کسبوکار",
|
||
"get_basalam_overview": "خلاصه باسلام",
|
||
"list_basalam_dead_letter": "خطاهای باسلام",
|
||
"adjust_customer_club_points": "تنظیم امتیاز باشگاه",
|
||
"recalculate_customer_club_rfm": "محاسبه مجدد RFM",
|
||
"update_customer_club_settings": "تنظیمات باشگاه مشتری",
|
||
"create_session_plan": "ساخت برنامهٔ کاری",
|
||
"list_session_todos": "فهرست برنامهٔ کاری",
|
||
"update_session_todo": "بهروزرسانی مرحله",
|
||
"spawn_subagent": "ساخت زیر-ایجنت",
|
||
"await_subagent": "انتظار زیر-ایجنت",
|
||
"cancel_subagent": "قطع زیر-ایجنت",
|
||
"get_fixed_asset_settings": "تنظیمات دارایی ثابت",
|
||
"update_fixed_asset_settings": "ویرایش تنظیمات دارایی ثابت",
|
||
"get_fixed_assets_dashboard": "داشبورد دارایی ثابت",
|
||
"list_fixed_asset_classes": "طبقات دارایی ثابت",
|
||
"update_fixed_asset_class": "ویرایش طبقه دارایی",
|
||
"list_fixed_asset_locations": "محل استقرار دارایی",
|
||
"create_fixed_asset_location": "ثبت محل دارایی",
|
||
"update_fixed_asset_location": "ویرایش محل دارایی",
|
||
"list_fixed_assets": "لیست دارایی ثابت",
|
||
"get_fixed_asset": "جزئیات دارایی ثابت",
|
||
"create_fixed_asset": "ثبت دارایی ثابت",
|
||
"update_fixed_asset": "ویرایش دارایی ثابت",
|
||
"delete_fixed_asset": "حذف دارایی ثابت",
|
||
"capitalize_fixed_asset": "سرمایهگذاری دارایی",
|
||
"set_fixed_asset_idle": "رکود دارایی",
|
||
"resume_fixed_asset": "خروج از رکود دارایی",
|
||
"dispose_fixed_asset": "خروج دارایی ثابت",
|
||
"post_fixed_asset_expenditure": "مخارج بعدی دارایی",
|
||
"change_fixed_asset_estimate": "تغییر برآورد دارایی",
|
||
"list_fixed_asset_depreciation_runs": "اجراهای استهلاک",
|
||
"get_fixed_asset_depreciation_run": "جزئیات استهلاک",
|
||
"create_fixed_asset_depreciation_run": "ایجاد استهلاک ماهانه",
|
||
"post_fixed_asset_depreciation_run": "ثبت استهلاک",
|
||
"delete_fixed_asset_depreciation_run": "حذف پیشنویس استهلاک",
|
||
"get_fixed_asset_report": "گزارش اموال و دارایی ثابت",
|
||
"get_telephony_settings": "تنظیمات تلفن",
|
||
"update_telephony_settings": "ویرایش تنظیمات تلفن",
|
||
"get_telephony_dashboard": "داشبورد تلفن",
|
||
"list_telephony_pbx": "مراکز تلفن",
|
||
"update_telephony_pbx": "ویرایش مرکز تلفن",
|
||
"list_telephony_extensions": "داخلیهای تلفن",
|
||
"upsert_telephony_extension": "ثبت داخلی تلفن",
|
||
"list_telephony_user_extensions": "اتصال کاربر به داخلی",
|
||
"upsert_telephony_user_extension": "اتصال داخلی به کاربر",
|
||
"delete_telephony_user_extension": "حذف اتصال داخلی",
|
||
"list_telephony_calls": "لیست تماسها",
|
||
"get_telephony_call": "جزئیات تماس",
|
||
"update_telephony_call": "ویرایش تماس",
|
||
"create_person_from_telephony_call": "شخص از تماس",
|
||
"create_lead_from_telephony_call": "سرنخ از تماس",
|
||
"click_to_call": "تماس خروجی",
|
||
"lookup_telephony_number": "جستجوی شماره تماس",
|
||
"get_telephony_reports_summary": "گزارش تماسها",
|
||
"list_barcode_label_templates": "طرحهای برچسب",
|
||
"get_barcode_label_template": "جزئیات طرح برچسب",
|
||
"get_default_barcode_label_template": "طرح برچسب پیشفرض",
|
||
"set_default_barcode_label_template": "تنظیم طرح پیشفرض برچسب",
|
||
"create_barcode_label_from_preset": "طرح برچسب از preset",
|
||
"publish_barcode_label_template": "انتشار طرح برچسب",
|
||
"archive_barcode_label_template": "بایگانی طرح برچسب",
|
||
"duplicate_barcode_label_template": "کپی طرح برچسب",
|
||
"list_barcode_label_presets": "presetهای برچسب",
|
||
"get_barcode_label_printer_settings": "تنظیمات چاپگر برچسب",
|
||
"update_barcode_label_printer_settings": "ویرایش چاپگر برچسب",
|
||
"update_business_info": "ویرایش مشخصات کسبوکار",
|
||
"update_document_numbering_settings": "ویرایش شمارهگذاری اسناد",
|
||
"create_project": "ثبت پروژه",
|
||
"update_project": "ویرایش پروژه",
|
||
"delete_project": "حذف پروژه",
|
||
"list_project_documents": "اسناد پروژه",
|
||
"get_person_group": "جزئیات گروه اشخاص",
|
||
"create_person_group": "ثبت گروه اشخاص",
|
||
"update_person_group": "ویرایش گروه اشخاص",
|
||
"delete_person_group": "حذف گروه اشخاص",
|
||
"update_credit_settings": "ویرایش تنظیمات اعتبار",
|
||
"get_credit_installment_plan": "جزئیات طرح اقساط",
|
||
"create_credit_installment_plan": "ثبت طرح اقساط",
|
||
"update_credit_installment_plan": "ویرایش طرح اقساط",
|
||
"delete_credit_installment_plan": "حذف طرح اقساط",
|
||
"update_person_credit": "سقف اعتبار شخص",
|
||
"search_product_bundles": "جستجوی باندل کالا",
|
||
"get_product_bundle": "جزئیات باندل کالا",
|
||
"create_product_bundle": "ثبت باندل کالا",
|
||
"update_product_bundle": "ویرایش باندل کالا",
|
||
"delete_product_bundle": "حذف باندل کالا",
|
||
"expand_product_bundle": "گسترش باندل کالا",
|
||
"get_price_list": "جزئیات لیست قیمت",
|
||
"create_price_list": "ثبت لیست قیمت",
|
||
"update_price_list": "ویرایش لیست قیمت",
|
||
"delete_price_list": "حذف لیست قیمت",
|
||
"upsert_price_list_item": "قیمت کالا در لیست",
|
||
"delete_price_list_item": "حذف قلم لیست قیمت",
|
||
"get_product_category_tree": "درخت دستهبندی کالا",
|
||
"create_product_category": "ثبت دستهبندی کالا",
|
||
"update_product_category": "ویرایش دستهبندی کالا",
|
||
"move_product_category": "جابجایی دستهبندی کالا",
|
||
"delete_product_category": "حذف دستهبندی کالا",
|
||
"get_available_product_instances": "کالاهای یونیک موجود",
|
||
"create_product_instance": "ثبت کالای یونیک",
|
||
"update_product_instance": "ویرایش کالای یونیک",
|
||
"delete_product_instance": "حذف کالای یونیک",
|
||
"get_warehouse": "جزئیات انبار",
|
||
"create_warehouse": "ثبت انبار",
|
||
"update_warehouse": "ویرایش انبار",
|
||
"delete_warehouse": "حذف انبار",
|
||
"create_warehouse_location": "ثبت محل انبار",
|
||
"update_warehouse_location": "ویرایش محل انبار",
|
||
"delete_warehouse_location": "حذف محل انبار",
|
||
"create_warehouse_placement": "ثبت چیدمان انبار",
|
||
"update_warehouse_placement": "ویرایش چیدمان انبار",
|
||
"delete_warehouse_placement": "حذف چیدمان انبار",
|
||
"reconcile_warehouse_placements": "مغایرت چیدمان انبار",
|
||
"create_frequent_description": "ثبت شرح پرتکرار",
|
||
"update_frequent_description": "ویرایش شرح پرتکرار",
|
||
"delete_frequent_description": "حذف شرح پرتکرار",
|
||
"list_catalog_spec_fields": "فیلدهای مشخصات کاتالوگ",
|
||
"get_catalog_spec_field": "جزئیات فیلد مشخصات",
|
||
"create_catalog_spec_field": "ثبت فیلد مشخصات کاتالوگ",
|
||
"update_catalog_spec_field": "ویرایش فیلد مشخصات",
|
||
"delete_catalog_spec_field": "حذف فیلد مشخصات",
|
||
"list_currency_rates": "نرخهای تسعیر",
|
||
"get_latest_currency_rates": "آخرین نرخ ارز",
|
||
"resolve_currency_rate": "تعیین نرخ تسعیر",
|
||
"create_currency_rate": "ثبت نرخ تسعیر",
|
||
"update_currency_rate": "ویرایش نرخ تسعیر",
|
||
"delete_currency_rate": "حذف نرخ تسعیر",
|
||
"add_business_currency": "افزودن ارز جانبی",
|
||
"remove_business_currency": "حذف ارز جانبی",
|
||
"create_loan_facility": "ثبت تسهیل دریافتی",
|
||
"update_loan_facility": "ویرایش تسهیل دریافتی",
|
||
"delete_loan_facility": "حذف تسهیل دریافتی",
|
||
"regenerate_loan_schedule": "جدول اقساط تسهیل",
|
||
"record_loan_payment": "پرداخت قسط تسهیل",
|
||
"delete_loan_payment": "حذف پرداخت تسهیل",
|
||
"create_fiscal_year": "ایجاد سال مالی",
|
||
"update_current_fiscal_year": "ویرایش سال مالی جاری",
|
||
"set_current_fiscal_year": "تعویض سال مالی جاری",
|
||
"preview_year_end_closing": "پیشنمایش بستن سال مالی",
|
||
"close_fiscal_year": "بستن سال مالی",
|
||
"preview_fiscal_year_rollback": "پیشنمایش بازگشت سال مالی",
|
||
"execute_fiscal_year_rollback": "بازگشت سال مالی",
|
||
"enqueue_quick_sale": "ثبت فروش سریع",
|
||
"get_quick_sale_job": "وضعیت فروش سریع",
|
||
"update_quick_sales_settings": "تنظیمات فروش سریع",
|
||
"list_quick_sales_payment_buttons": "دکمههای پرداخت فروش سریع",
|
||
"create_quick_sales_payment_button": "ثبت دکمه پرداخت فروش سریع",
|
||
"update_quick_sales_payment_button": "ویرایش دکمه پرداخت فروش سریع",
|
||
"delete_quick_sales_payment_button": "حذف دکمه پرداخت فروش سریع",
|
||
"reorder_quick_sales_payment_buttons": "ترتیب دکمههای پرداخت",
|
||
"list_quick_sales_stock_discrepancies": "مغایرت موجودی فروش سریع",
|
||
"create_quick_sales_stock_correction": "اصلاح کسری فروش سریع",
|
||
"list_customer_club_tiers": "سطحهای باشگاه مشتریان",
|
||
"replace_customer_club_tiers": "جایگزینی سطح باشگاه",
|
||
"list_customer_club_rewards": "جوایز باشگاه مشتریان",
|
||
"save_customer_club_reward": "ثبت جایزه باشگاه",
|
||
"redeem_customer_club_reward": "مصرف جایزه باشگاه",
|
||
"list_customer_club_vouchers": "کوپنهای باشگاه",
|
||
"set_customer_club_consent": "رضایت باشگاه مشتریان",
|
||
"submit_customer_club_survey": "نظرسنجی باشگاه مشتریان",
|
||
"get_customer_club_member_profile": "پروفایل عضو باشگاه",
|
||
"preview_customer_club_segment": "پیشنمایش سگمنت باشگاه",
|
||
"list_customer_club_campaigns": "کمپینهای باشگاه",
|
||
"save_customer_club_campaign": "ثبت کمپین باشگاه",
|
||
"run_customer_club_campaign": "اجرای کمپین باشگاه",
|
||
"get_customer_club_campaign_stats": "آمار کمپین باشگاه",
|
||
"get_business_notification_template": "قالب اعلان کسبوکار",
|
||
"create_business_notification_template": "ثبت قالب اعلان",
|
||
"update_business_notification_template": "ویرایش قالب اعلان",
|
||
"submit_business_notification_template": "ارسال قالب اعلان برای تایید",
|
||
"preview_business_notification_template": "پیشنمایش قالب اعلان",
|
||
"send_business_notification": "ارسال اعلان کسبوکار",
|
||
"get_goods_expense_income_settings": "تنظیمات کالای هزینه/درآمد",
|
||
"list_goods_expense_income": "اسناد کالای هزینه/درآمد",
|
||
"get_goods_expense_income": "جزئیات کالای هزینه/درآمد",
|
||
"create_goods_expense_income": "ثبت کالای هزینه/درآمد",
|
||
"update_goods_expense_income": "ویرایش کالای هزینه/درآمد",
|
||
"submit_goods_expense_income": "ارسال کالای هزینه/درآمد",
|
||
"allocate_goods_expense_income": "تخصیص حساب کالای هزینه/درآمد",
|
||
"post_goods_expense_income": "قطعیسازی کالای هزینه/درآمد",
|
||
"cancel_goods_expense_income": "ابطال کالای هزینه/درآمد",
|
||
"delete_goods_expense_income": "حذف کالای هزینه/درآمد",
|
||
}
|
||
|
||
|
||
def tool_l10n_key(function_name: str) -> str:
|
||
return TOOL_L10N_KEYS.get(function_name, "aiToolGeneric")
|
||
|
||
|
||
def tool_label_fa(function_name: str) -> str:
|
||
return TOOL_LABELS_FA.get(function_name, function_name)
|
||
|
||
|
||
def status_event(phase: str, step: Optional[str] = None, tool_key: Optional[str] = None) -> Dict:
|
||
payload: Dict = {"event": "status", "phase": phase, "done": False}
|
||
if step:
|
||
payload["step"] = step
|
||
if tool_key:
|
||
payload["tool_key"] = tool_key
|
||
return payload
|