Model sailthru_profile


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?
__vNumber
_deletedBooleanfalsex
_idObjectIDfunction defaultId() { return new oid(); }
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
browserArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
create_dateDate
createdAtDate
emailStringxx
extidNumber
geoMixed
horizon_monthMixed
horizon_timesMixed
idStringxx
last_clickDate
last_openDate
last_pageviewDate
lists_signupArrayfunction() { // Leave it up to `cast()` to convert the array return fn ? defaultArr.call(this) : defaultArr != null ? [].concat(defaultArr) : []; }
optout_reasonString
optout_timeDate
optout_typeString
signup_timeDate
total_clicksNumber
total_messagesNumber
total_opensNumber
total_pageviewsNumber
total_unique_clicksNumber
total_unique_opensNumber
updatedAtDate
var_timeDate
varsMixed

Raw definition

{
	"path": "__v",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"__v"
	],
	"options": {},
	"_index": null
}
{
	"path": "_deleted",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_deleted"
	],
	"options": {
		"default": false,
		"index": true
	},
	"_index": true,
	"defaultValue": false
}
{
	"path": "_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"_id"
	],
	"options": {
		"auto": true,
		"type": "ObjectId"
	},
	"_index": null
}
{
	"path": "_owner_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_owner_id"
	],
	"options": {
		"link": "User",
		"map_to": "_owner",
		"index": true
	},
	"_index": true
}
{
	"path": "_updated_by_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_updated_by_id"
	],
	"options": {
		"link": "User",
		"map_to": "_updated_by",
		"index": true
	},
	"_index": true
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"collection": "sailthru_profile",
		"perms": {
			"admin": "crud"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "",
			"user": "",
			"all": ""
		},
		"pluralization": true
	},
	"caster": {
		"path": "browser",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"browser"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "browser.$",
		"_arrayParentPath": "browser"
	},
	"$embeddedSchemaType": {
		"path": "browser",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"browser"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "browser.$",
		"_arrayParentPath": "browser"
	},
	"$isMongooseArray": true,
	"path": "browser",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"browser"
	],
	"options": {},
	"_index": null
}
{
	"path": "create_date",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"create_date"
	],
	"options": {},
	"_index": null
}
{
	"path": "createdAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [
		null,
		null
	],
	"_presplitPath": [
		"createdAt"
	],
	"options": {
		"immutable": true
	},
	"_index": null,
	"$immutable": true
}
{
	"enumValues": [],
	"regExp": null,
	"path": "email",
	"instance": "String",
	"validators": [
		{
			"message": "Path `{PATH}` is required.",
			"type": "required"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"email"
	],
	"options": {
		"unique": true,
		"index": true,
		"required": true
	},
	"_index": {
		"unique": true
	},
	"isRequired": true,
	"originalRequiredValue": true
}
{
	"path": "extid",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"extid"
	],
	"options": {},
	"_index": null
}
{
	"path": "geo",
	"instance": "Mixed",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"geo"
	],
	"options": {},
	"_index": null
}
{
	"path": "horizon_month",
	"instance": "Mixed",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"horizon_month"
	],
	"options": {},
	"_index": null
}
{
	"path": "horizon_times",
	"instance": "Mixed",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"horizon_times"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "id",
	"instance": "String",
	"validators": [
		{
			"message": "Path `{PATH}` is required.",
			"type": "required"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"id"
	],
	"options": {
		"unique": true,
		"index": true,
		"required": true
	},
	"_index": {
		"unique": true
	},
	"isRequired": true,
	"originalRequiredValue": true
}
{
	"path": "last_click",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"last_click"
	],
	"options": {},
	"_index": null
}
{
	"path": "last_open",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"last_open"
	],
	"options": {},
	"_index": null
}
{
	"path": "last_pageview",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"last_pageview"
	],
	"options": {},
	"_index": null
}
{
	"schemaOptions": {
		"timestamps": true,
		"toJSON": {
			"virtuals": true
		},
		"toObject": {
			"virtuals": true
		},
		"collection": "sailthru_profile",
		"perms": {
			"admin": "crud"
		},
		"typeKey": "type",
		"id": true,
		"_id": true,
		"validateBeforeSave": true,
		"read": null,
		"shardKey": null,
		"discriminatorKey": "__t",
		"autoIndex": null,
		"minimize": true,
		"optimisticConcurrency": false,
		"versionKey": "__v",
		"capped": false,
		"bufferCommands": true,
		"strictQuery": true,
		"strict": true,
		"_perms": {
			"admin": "crud",
			"owner": "",
			"user": "",
			"all": ""
		},
		"pluralization": true
	},
	"caster": {
		"path": "lists_signup",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"lists_signup"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "lists_signup.$",
		"_arrayParentPath": "lists_signup"
	},
	"$embeddedSchemaType": {
		"path": "lists_signup",
		"instance": "Mixed",
		"validators": [],
		"getters": [],
		"setters": [],
		"_presplitPath": [
			"lists_signup"
		],
		"options": {},
		"_index": null,
		"_arrayPath": "lists_signup.$",
		"_arrayParentPath": "lists_signup"
	},
	"$isMongooseArray": true,
	"path": "lists_signup",
	"instance": "Array",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"lists_signup"
	],
	"options": {
		"default": []
	},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "optout_reason",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"optout_reason"
	],
	"options": {},
	"_index": null
}
{
	"path": "optout_time",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"optout_time"
	],
	"options": {},
	"_index": null
}
{
	"enumValues": [],
	"regExp": null,
	"path": "optout_type",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"optout_type"
	],
	"options": {},
	"_index": null
}
{
	"path": "signup_time",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"signup_time"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_clicks",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_clicks"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_messages",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_messages"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_opens",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_opens"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_pageviews",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_pageviews"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_unique_clicks",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_unique_clicks"
	],
	"options": {},
	"_index": null
}
{
	"path": "total_unique_opens",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"total_unique_opens"
	],
	"options": {},
	"_index": null
}
{
	"path": "updatedAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"updatedAt"
	],
	"options": {},
	"_index": null
}
{
	"path": "var_time",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"var_time"
	],
	"options": {},
	"_index": null
}
{
	"path": "vars",
	"instance": "Mixed",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"vars"
	],
	"options": {},
	"_index": null
}