{"service":"ElevenLabs SuccessWare Integration","version":"1.0.0","endpoints":{"health":"GET /health","generateUnassignedUnscheduledReport":"POST /webhooks/generate-unassigned-unscheduled-report (runs unassigned+unscheduled report generator; returns output paths)","searchJobs":"POST /webhooks/search-jobs","searchJobsByPhone":"POST /webhooks/search-jobs-by-phone","searchJobsWithFilters":"POST /webhooks/search-jobs-with-filters","getJobDetailsByJobNumber":"POST /webhooks/get-job-details-by-job-number (full job details)","searchCustomers":"POST /webhooks/search-customers (deprecated)","searchCustomersV2":"POST /webhooks/search-customers-v2 (recommended - returns all IDs)","searchCustomerFlex":"POST /webhooks/search-customer-flex","createCustomer":"POST /webhooks/create-customer","updateCustomer":"POST /webhooks/update-customer","createJob":"POST /webhooks/create-job","getAccountHistory":"POST /webhooks/get-account-history (jobs + invoices for a serviceAccountId; supports full invoice hydration)","createScheduledJob":"POST /webhooks/create-scheduled-job (standard createJob + Job Notes)","bookitCreateJob":"POST /webhooks/bookit-create-job (BookIt create + schedule + notes)","jobAdd":"POST /webhooks/job-add","updateJobNotes":"POST /webhooks/update-job-notes","updateJobDetail":"POST /webhooks/update-job-detail","updateJobStatus":"POST /webhooks/update-job-status","updateAssignmentTimes":"POST /webhooks/update-assignment-times","sendSms":"POST /webhooks/send-sms","cancelJob":"POST /webhooks/cancel-job","getReferenceData":"POST /webhooks/get-reference-data","searchAssignments":"POST /webhooks/search-assignments","searchScheduledCalls":"POST /webhooks/search-scheduled-calls","getScheduleBlocks":"POST /webhooks/get-schedule-blocks","getScheduleBlocksByJobType":"POST /webhooks/get-schedule-blocks-by-job-type","getSharedCapacityByJobType":"POST /webhooks/get-shared-capacity-by-job-type","searchEquipment":"POST /webhooks/search-equipment","getEquipmentList":"POST /webhooks/get-equipment-list","getEquipmentByLocation":"POST /webhooks/get-equipment-by-location","getEquipmentLaborWarrantyExpiring":"POST /webhooks/get-equipment-labor-warranty-expiring","getAgreementsVisitsOwing":"POST /webhooks/get-agreements-visits-owing","getAgreementsGen2StatusExport":"POST /webhooks/get-agreements-gen2-status-export (all agreements with Gen2 statuses; flat list + by-status view)","getActiveAgreementsExport":"POST /webhooks/get-active-agreements-export (ACTIVE agreements export as CSV or JSON)","scheduleJob":"POST /webhooks/schedule-job","createArBillingAccount":"POST /webhooks/create-ar-billing-account","createBillingAccount":"POST /webhooks/create-billing-account","updateBillingAccount":"POST /webhooks/update-billing-account","updateReferralComment":"POST /webhooks/update-referral-comment","createArInvoice":"POST /webhooks/create-ar-invoice","updateArInvoice":"POST /webhooks/update-ar-invoice","updateArInvoiceItem":"POST /webhooks/update-ar-invoice-item","addInvoiceItemsToJobInvoice":"POST /webhooks/add-invoice-items-to-job-invoice (resolve jobNumber→invoiceNumber, then add/update invoice items)","deleteInvoiceItemsFromJobInvoice":"POST /webhooks/delete-invoice-items-from-job-invoice (best-effort: void invoice items by setting qty/unitPrice/totalSale=0; no true delete mutation)","getSalesItemNumbers":"POST /webhooks/get-sales-item-numbers (scan invoice history to discover itemNumber codes)","recordInvoicePayment":"POST /webhooks/record-invoice-payment","introspectType":"POST /webhooks/introspect-type (GraphQL __type helper)","getEmployees":"POST /webhooks/get-employees","getBillingCustomer":"POST /webhooks/get-billing-customer","getLocation":"POST /webhooks/get-location","getInvoice":"POST /webhooks/get-invoice","getInvoiceItemsExport":"POST /webhooks/get-invoice-items-export (invoice line items in date range → CSV; postedOnly supported)","searchInvoicesByItemNumber":"POST /webhooks/search-invoices-by-item-number (filter invoices by itemNumber; grouped by locationId)","getNewCustomerRevenue":"POST /webhooks/get-new-customer-revenue (new billing accounts in date range → jobs → invoices → revenue)","getNewJobsCreatedSummary":"POST /webhooks/get-new-jobs-created-summary (jobs created in date range → counts by location/jobClass/jobType)","getPostedInvoicesWithJobDetails":"POST /webhooks/get-posted-invoices-with-job-details (posted invoices in date range → enrich with job class/type + primary tech)","getDmrBuildSheetData":"POST /webhooks/get-dmr-build-sheet-data (DMR build-sheet KPI values: Day/MTD/YTD; excludes call_conversion)","getSalesEstimatesSummary":"POST /webhooks/get-sales-estimates-summary (estimate jobs in range → generated/sold/not-sold + sold revenue)","getCallbackJobsWithDetails":"POST /webhooks/get-callback-jobs-with-details (callback jobs created in range → enrich with original job lookup)","getAgreementsLifecycleSummary":"POST /webhooks/get-agreements-lifecycle-summary (agreements new/renewed/terminated/cancelled in date range)","getAgreementsActiveSummary":"POST /webhooks/get-agreements-active-summary (agreements active/started/ended in date range)","getInactiveAgreements":"POST /webhooks/get-inactive-agreements (agreements that are cancelled/terminated/expired/non-active)","searchServiceAccounts":"POST /webhooks/search-service-accounts","getAgreement":"POST /webhooks/get-agreement","getPaymentMethods":"POST /webhooks/get-payment-methods","checkMembershipStatus":"POST /webhooks/check-membership-status (checks if customer is Comfort Club member)","getAgreementTypeCatalog":"POST /webhooks/get-agreement-type-catalog (agreementTypeName catalog + pricing metadata)","getMarketingData":"POST /webhooks/get-marketing-data (unified customer, service, and invoice data with delta sync)","getGoogleLsaLeads":"POST /webhooks/get-google-lsa-leads (Google Local Services Ads leads via Google Ads API)","provideGoogleLsaLeadFeedback":"POST /webhooks/provide-google-lsa-lead-feedback (Google LSA lead feedback via Google Ads API)","getCustomersByJobType":"POST /webhooks/get-customers-by-job-type (customers/locations who have had a given jobType/jobClass; includes last matching job details)","syncSupabase":"POST /webhooks/sync-supabase (pollable SuccessWare → Supabase sw_* upsert)","createPaymentLink":"POST /webhooks/create-payment-link","getPaymentStatus":"POST /webhooks/get-payment-status","createRefund":"POST /webhooks/create-refund","sendCallSummaryEmail":"POST /webhooks/send-call-summary-email","getStaffContact":"POST /webhooks/get-staff-contact","listStaffContacts":"GET /webhooks/list-staff-contacts/:company","aiOptimizeJobAssignment":"POST /webhooks/ai-optimize-job-assignment (AI-powered technician assignment)","aiOptimizeBulkAssignments":"POST /webhooks/ai-optimize-bulk-assignments (bulk AI assignment optimization)","aiSchedulingAnalytics":"POST /webhooks/ai-scheduling-analytics (AI scheduling performance insights)","aiCapacityPlanning":"POST /webhooks/ai-capacity-planning (predictive capacity planning)","aiGenerateFollowUp":"POST /webhooks/ai-generate-follow-up (automated personalized follow-up sequences)","aiSmartReminder":"POST /webhooks/ai-smart-reminder (no-show prediction and smart appointment reminders)","aiGenerateSurvey":"POST /webhooks/ai-generate-survey (automated satisfaction surveys with AI insights)","aiAnalyzeCommunication":"POST /webhooks/ai-analyze-communication (customer communication pattern analysis)","aiProcessFeedback":"POST /webhooks/ai-process-feedback (sentiment analysis and feedback processing)","aiCommunicationHealth":"POST /webhooks/ai-communication-health (communication system health and analytics)","aiCreateDashboard":"POST /webhooks/ai-create-dashboard (real-time business intelligence dashboards)","aiPredictiveAnalytics":"POST /webhooks/ai-predictive-analytics (revenue forecasting and trend analysis)","aiIdentifyBottlenecks":"POST /webhooks/ai-identify-bottlenecks (performance bottleneck identification)","aiCostReduction":"POST /webhooks/ai-cost-reduction (cost reduction opportunity analysis)","aiStartStream":"POST /webhooks/ai-start-stream (start real-time data streaming)","aiStopStream":"POST /webhooks/ai-stop-stream (stop real-time data streaming)","aiExecutiveKPIs":"POST /webhooks/ai-executive-kpis (executive KPI dashboard with benchmarks)","dmrDashboard":"POST /webhooks/dmr-dashboard (automated DMR dashboard data collection)","dmrDayData":"POST /webhooks/dmr-day-data (specific day DMR data)","dmrUpdateTargets":"POST /webhooks/dmr-update-targets (update DMR monthly targets)","dmrInsights":"POST /webhooks/dmr-insights (DMR performance insights and alerts)","dmrExport":"POST /webhooks/dmr-export (export DMR data in various formats)"},"companies":["hales","climate","abraham"]}