Module: Maintenance

Defined in:
app/services/maintenance/duplicate_customer_addresses.rb,
app/services/maintenance/duplicate_customer_contact_points.rb

Overview

Reports duplicate "category|detail" contact-point fingerprints per customer
(and per associated contact) for the recent (last-year) non-guest customer
cohort. Returns a hash like:

{
customer_id => ["email|x@y.z", { contact_id => ["phone|+1..."] }, ...]
}

Used by Maintenance::CustomerMaintenance#merge_duplicate_contact_points.

Defined Under Namespace

Classes: AccountMaintenance, ActivityMaintenance, CommunicationMaintenance, CouponMaintenance, CustomerMaintenance, DuplicateCustomerAddresses, DuplicateCustomerContactPoints, EmbeddingOrphanCleanup, ExportPacketMaintenance, ItemMaintenance, OpportunityMaintenance, PackingMaintenance, PriceUpdateFromSpreadsheet, PurgeOldTrackingEvents, RmaMaintenance, SmsMaintenance, StaleReportMaintenance, UploadMaintenance, WebhookMaintenance