EngineModule referencecustomer-segment

@withpotter/customer-segment — module reference

A support module — it mounts no HTTP routes of its own but contributes the internal building blocks below. See the package internal architecture for how the layers fit together.

Internals

Entities

Sequelize models owned by this module.

CustomerSegment — table customer_segments

FieldType
idstring
tenantIdstring
tenantTenant
namestring
descriptionstring | null
filtersSegmentFilters
customerCountnumber
createdAtDate
updatedAtDate

Repositories

Data-access classes wrapping the entities.

CustomerSegmentRepository

findById · findByTenant · create · update · updateCustomerCount · delete

Generated from the module’s source. Routes are relative to the engine root (default http://localhost:3001). For full request/response schemas use the live OpenAPI document.