automation calls

This commit is contained in:
CHIEFSOFT\ameye
2026-03-09 18:56:33 -04:00
parent f25975e140
commit 2bfb802b10
4 changed files with 83 additions and 0 deletions
+9
View File
@@ -13,6 +13,7 @@ from app.api.services import (
SubscriptionsService,
CommonDataService,
OfficeCustomerService,
AutomationCalls,
GenerativesService, OfficeUsersService, OfficeTemplatesService, OfficeCountryService, WebsiteService,
FileUploadService, ReportService
)
@@ -897,6 +898,14 @@ def email_check():
AccountService.process_test_email(data)
return {"status": "ok"}, 200
# ===================================================
# Health Check Endpoint
@api.route("/cron/refresh-payhx", methods=["GET"])
def refresh_payhx():
data = {}
AutomationCalls.process_stripe_payment_refresh(data)
return {"status": "ok"}, 200
# Health Check Endpoint
@api.route("/health", methods=["GET"])