Model readers
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | | 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 | | |
| app_user | Boolean | | | false | x | | |
| authors | Array of String | | | [Function] | | | |
| authors_last_30_days | Array | | | [Function] | | | |
| browser | String | | | | | | |
| browser_version | String | | | | | | |
| campaign | String | | | | | | |
| cc_expiry_date | Date | | | | | | |
| cc_last4_digits | String | | | | | | |
| cellphone | String | | | | | | |
| city | String | | | | | | |
| country | String | | | | | | |
| createdAt | Date | | | | | | |
| device | String | | | | | | |
| display_name | String | | | | | | |
| email | String | | | | x | x | |
| email_client | String | | | | | | |
| email_state | String | | | | x | | |
| favourite_author | String | | | | | | |
| favourite_section | String | | | | | | |
| first_login | Date | | | | | | |
| first_name | String | | | | | | |
| frequency | Number | | | | | | |
| frequency_quantile_rank | Number | | | | | | |
| frequency_score | Number | | | | x | | |
| height | Number | | | | | | |
| label_data | Mixed | | | | | | |
| label_id | Array of ObjectID | | | [Function] | | | |
| label_update | Date | | | | | | |
| last_login | Date | | | | | | |
| last_name | String | | | | | | |
| last_update | Date | | | | | | |
| latitude | Number | | | | | | |
| longitude | Number | | | | | | |
| medium | String | | | | | | |
| member | Boolean | | | | | | |
| monetary_value | Number | | | | | | |
| monetary_value_score | Number | | | | x | | |
| monthly_contribution | Number | | | | | | |
| newsletters | Array of String | | | [Function] | | | |
| operating_system | String | | | | | | |
| os_version | String | | | | | | |
| paying_customer | Boolean | | | | | | |
| platform | String | | | | | | |
| recency | Date | | | | | | |
| recency_quantile_rank | Number | | | | | | |
| recency_score | Number | | | | x | | |
| region | String | | | | | | |
| remp_beam_id | Number | | | | | | |
| sections | Array of String | | | [Function] | | | |
| sections_last_30_days | Array | | | [Function] | | | |
| segment_update | Date | | | | | | |
| segmentation_id | Array of ObjectID | | | [Function] | | | |
| sent_insider_welcome_email | Date | | | | x | | |
| source | String | | | | | | |
| test_wordpress_id | Number | | | | x | | |
| total_lifetime_value | Number | | | | | | |
| total_lifetime_value_score | Number | | | | x | | |
| uas | Mixed | | | | | | |
| uber_code_override | String | | | auto | x | | |
| updatedAt | Date | | | | | | |
| user_registered_on_wordpress | Date | | | | | | |
| volume | Number | | | | | | |
| volume_quantile_rank | Number | | | | | | |
| volume_score | Number | | | | x | | |
| width | Number | | | | | | |
| wordpress_id | Number | | | | x | x | |
| wordpressuser_id | ObjectID | wordpressuser | | | x | | |
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": []
}app_user
{
"path": "app_user",
"instance": "Boolean",
"options": {
"index": true,
"default": false
},
"validators": [],
"defaultValue": false
}authors
{
"path": "authors",
"instance": "Array",
"options": {
"type": [
{
"index": true
}
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}authors_last_30_days
{
"path": "authors_last_30_days",
"instance": "Array",
"options": {
"type": [
{}
]
},
"validators": [],
"defaultValue": "[Function]"
}browser
{
"path": "browser",
"instance": "String",
"options": {},
"validators": []
}browser_version
{
"path": "browser_version",
"instance": "String",
"options": {},
"validators": []
}campaign
{
"path": "campaign",
"instance": "String",
"options": {},
"validators": []
}cc_expiry_date
{
"path": "cc_expiry_date",
"instance": "Date",
"options": {},
"validators": []
}cc_last4_digits
{
"path": "cc_last4_digits",
"instance": "String",
"options": {},
"validators": []
}cellphone
{
"path": "cellphone",
"instance": "String",
"options": {
"trim": true
},
"validators": []
}city
{
"path": "city",
"instance": "String",
"options": {},
"validators": []
}country
{
"path": "country",
"instance": "String",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}device
{
"path": "device",
"instance": "String",
"options": {},
"validators": []
}display_name
{
"path": "display_name",
"instance": "String",
"options": {},
"validators": []
}email
{
"path": "email",
"instance": "String",
"options": {
"index": true,
"unique": true,
"lowercase": true,
"trim": true,
"sparse": true
},
"validators": []
}email_client
{
"path": "email_client",
"instance": "String",
"options": {},
"validators": []
}email_state
{
"path": "email_state",
"instance": "String",
"options": {
"index": true
},
"validators": []
}favourite_author
{
"path": "favourite_author",
"instance": "String",
"options": {},
"validators": []
}favourite_section
{
"path": "favourite_section",
"instance": "String",
"options": {},
"validators": []
}first_login
{
"path": "first_login",
"instance": "Date",
"options": {},
"validators": []
}first_name
{
"path": "first_name",
"instance": "String",
"options": {
"trim": true
},
"validators": []
}frequency
{
"path": "frequency",
"instance": "Number",
"options": {},
"validators": []
}frequency_quantile_rank
{
"path": "frequency_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}frequency_score
{
"path": "frequency_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}height
{
"path": "height",
"instance": "Number",
"options": {},
"validators": []
}label_data
{
"path": "label_data",
"instance": "Mixed",
"options": {},
"validators": []
}label_id
{
"path": "label_id",
"instance": "Array",
"options": {
"type": [
{
"link": "Label",
"map_to": "label"
}
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "ObjectID"
}label_update
{
"path": "label_update",
"instance": "Date",
"options": {},
"validators": []
}last_login
{
"path": "last_login",
"instance": "Date",
"options": {},
"validators": []
}last_name
{
"path": "last_name",
"instance": "String",
"options": {
"trim": true
},
"validators": []
}last_update
{
"path": "last_update",
"instance": "Date",
"options": {},
"validators": []
}latitude
{
"path": "latitude",
"instance": "Number",
"options": {},
"validators": []
}longitude
{
"path": "longitude",
"instance": "Number",
"options": {},
"validators": []
}medium
{
"path": "medium",
"instance": "String",
"options": {},
"validators": []
}member
{
"path": "member",
"instance": "Boolean",
"options": {},
"validators": []
}monetary_value
{
"path": "monetary_value",
"instance": "Number",
"options": {},
"validators": []
}monetary_value_score
{
"path": "monetary_value_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}monthly_contribution
{
"path": "monthly_contribution",
"instance": "Number",
"options": {},
"validators": []
}newsletters
{
"path": "newsletters",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}operating_system
{
"path": "operating_system",
"instance": "String",
"options": {},
"validators": []
}os_version
{
"path": "os_version",
"instance": "String",
"options": {},
"validators": []
}paying_customer
{
"path": "paying_customer",
"instance": "Boolean",
"options": {},
"validators": []
}platform
{
"path": "platform",
"instance": "String",
"options": {},
"validators": []
}recency
{
"path": "recency",
"instance": "Date",
"options": {},
"validators": []
}recency_quantile_rank
{
"path": "recency_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}recency_score
{
"path": "recency_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}region
{
"path": "region",
"instance": "String",
"options": {},
"validators": []
}remp_beam_id
{
"path": "remp_beam_id",
"instance": "Number",
"options": {},
"validators": []
}sections
{
"path": "sections",
"instance": "Array",
"options": {
"type": [
{
"index": true
}
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}sections_last_30_days
{
"path": "sections_last_30_days",
"instance": "Array",
"options": {
"type": [
{}
]
},
"validators": [],
"defaultValue": "[Function]"
}segment_update
{
"path": "segment_update",
"instance": "Date",
"options": {},
"validators": []
}segmentation_id
{
"path": "segmentation_id",
"instance": "Array",
"options": {
"type": [
{
"link": "segmentation",
"map_to": "segment"
}
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "ObjectID"
}sent_insider_welcome_email
{
"path": "sent_insider_welcome_email",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}source
{
"path": "source",
"instance": "String",
"options": {},
"validators": []
}test_wordpress_id
{
"path": "test_wordpress_id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}total_lifetime_value
{
"path": "total_lifetime_value",
"instance": "Number",
"options": {},
"validators": []
}total_lifetime_value_score
{
"path": "total_lifetime_value_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}uas
{
"path": "uas",
"instance": "Mixed",
"options": {},
"validators": []
}uber_code_override
{
"path": "uber_code_override",
"instance": "String",
"options": {
"enum": [
"send",
"withhold",
"auto"
],
"default": "auto",
"index": true
},
"validators": [
{
"message": "`{VALUE}` is not a valid enum value for path `{PATH}`."
}
],
"defaultValue": "auto"
}Validators
- : `{VALUE}` is not a valid enum value for path `{PATH}`.
updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}user_registered_on_wordpress
{
"path": "user_registered_on_wordpress",
"instance": "Date",
"options": {},
"validators": []
}volume
{
"path": "volume",
"instance": "Number",
"options": {},
"validators": []
}volume_quantile_rank
{
"path": "volume_quantile_rank",
"instance": "Number",
"options": {},
"validators": []
}volume_score
{
"path": "volume_score",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}width
{
"path": "width",
"instance": "Number",
"options": {},
"validators": []
}wordpress_id
{
"path": "wordpress_id",
"instance": "Number",
"options": {
"index": true,
"unique": true
},
"validators": []
}wordpressuser_id
{
"path": "wordpressuser_id",
"instance": "ObjectID",
"options": {
"link": "wordpressuser",
"index": true
},
"validators": []
}