Schema representing a customer, former customer or lead served by Company
import { Customer } from "pushpress/models/components/customer.js";
let value: Customer = {
id: "usr_1234",
name: "John Doe",
address: "123 Main St, Anytown, USA",
profileImage: "https://example.com/profile.jpg",
email: "[email protected]",
phone: "+1-800-555-1234",
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
id |
string | ✔️ | Unique identifier for the customer | usr_1234 |
name |
string | ➖ | Name of the customer | John Doe |
address |
string | ➖ | Address of the customer | 123 Main St, Anytown, USA |
profileImage |
string | ➖ | URL to the profile image of the customer | https://example.com/profile.jpg |
email |
string | ✔️ | Email address of the customer | [email protected] |
phone |
string | ➖ | Phone number of the customer | +1-800-555-1234 |