Model sailthru_profile
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| browser | Array of Mixed | | | [Function] | | | |
| create_date | Date | | | | | | |
| createdAt | Date | | | | | | |
| email | String | | | | x | x | x |
| extid | Number | | | | | | |
| geo | Mixed | | | | | | |
| horizon_month | Mixed | | | | | | |
| horizon_times | Mixed | | | | | | |
| id | String | | | | x | x | x |
| last_click | Date | | | | | | |
| last_open | Date | | | | | | |
| last_pageview | Date | | | | | | |
| lists_signup | Array of Mixed | | | [Function] | | | |
| optout_reason | String | | | | | | |
| optout_time | Date | | | | | | |
| optout_type | String | | | | | | |
| signup_time | Date | | | | | | |
| total_clicks | Number | | | | | | |
| total_messages | Number | | | | | | |
| total_opens | Number | | | | | | |
| total_pageviews | Number | | | | | | |
| total_unique_clicks | Number | | | | | | |
| total_unique_opens | Number | | | | | | |
| updatedAt | Date | | | | | | |
| var_time | Date | | | | | | |
| vars | Mixed | | | | | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}browser
{
"path": "browser",
"instance": "Array",
"options": {},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}create_date
{
"path": "create_date",
"instance": "Date",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}email
{
"path": "email",
"instance": "String",
"options": {
"unique": true,
"index": true,
"required": true
},
"validators": [
{
"message": "Path `{PATH}` is required."
}
],
"isRequired": true
}Validators
- : Path `{PATH}` is required.
extid
{
"path": "extid",
"instance": "Number",
"options": {},
"validators": []
}geo
{
"path": "geo",
"instance": "Mixed",
"options": {},
"validators": []
}horizon_month
{
"path": "horizon_month",
"instance": "Mixed",
"options": {},
"validators": []
}horizon_times
{
"path": "horizon_times",
"instance": "Mixed",
"options": {},
"validators": []
}id
{
"path": "id",
"instance": "String",
"options": {
"unique": true,
"index": true,
"required": true
},
"validators": [
{
"message": "Path `{PATH}` is required."
}
],
"isRequired": true
}Validators
- : Path `{PATH}` is required.
last_click
{
"path": "last_click",
"instance": "Date",
"options": {},
"validators": []
}last_open
{
"path": "last_open",
"instance": "Date",
"options": {},
"validators": []
}last_pageview
{
"path": "last_pageview",
"instance": "Date",
"options": {},
"validators": []
}lists_signup
{
"path": "lists_signup",
"instance": "Array",
"options": {
"default": []
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}optout_reason
{
"path": "optout_reason",
"instance": "String",
"options": {},
"validators": []
}optout_time
{
"path": "optout_time",
"instance": "Date",
"options": {},
"validators": []
}optout_type
{
"path": "optout_type",
"instance": "String",
"options": {},
"validators": []
}signup_time
{
"path": "signup_time",
"instance": "Date",
"options": {},
"validators": []
}total_clicks
{
"path": "total_clicks",
"instance": "Number",
"options": {},
"validators": []
}total_messages
{
"path": "total_messages",
"instance": "Number",
"options": {},
"validators": []
}total_opens
{
"path": "total_opens",
"instance": "Number",
"options": {},
"validators": []
}total_pageviews
{
"path": "total_pageviews",
"instance": "Number",
"options": {},
"validators": []
}total_unique_clicks
{
"path": "total_unique_clicks",
"instance": "Number",
"options": {},
"validators": []
}total_unique_opens
{
"path": "total_unique_opens",
"instance": "Number",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}var_time
{
"path": "var_time",
"instance": "Date",
"options": {},
"validators": []
}vars
{
"path": "vars",
"instance": "Mixed",
"options": {},
"validators": []
}