Model whitebeardcustomers
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | | x | | |
| all | | | | |
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 | | |
| active | String | | | | | | |
| archiveCredits | String | | | | | | |
| city | String | | | | x | | |
| clientId | Mixed | | | | | | |
| country | String | | | | x | | |
| country_code | Mixed | | | | | | |
| createdAt | Date | | | | | | |
| creationDate | Date | | | | x | | |
| dateOfBirth | String | | | | | | |
| displayName | String | | | | x | | |
| email_channels | Array of Mixed | | | [Function] | | | |
| fields | Mixed | | | | | | |
| loginName | String | | | | x | | |
| mobile | String | | | | | | |
| photo | String | | | | | | |
| preferences.first_name | String | | | | | | |
| preferences.last_name | String | | | | | | |
| push_subscriptions | Array of Mixed | | | [Function] | | | |
| segments | Array of Mixed | | | [Function] | | | |
| subscriptions | Mixed | | | | | | |
| tags | Array of Mixed | | | [Function] | | | |
| updatedAt | Date | | | | | | |
| userId | String | | | | x | x | |
| user_type | String | | | | 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": []
}active
{
"path": "active",
"instance": "String",
"options": {},
"validators": []
}archiveCredits
{
"path": "archiveCredits",
"instance": "String",
"options": {},
"validators": []
}city
{
"path": "city",
"instance": "String",
"options": {
"index": true
},
"validators": []
}clientId
{
"path": "clientId",
"instance": "Mixed",
"options": {},
"validators": []
}country
{
"path": "country",
"instance": "String",
"options": {
"index": true
},
"validators": []
}country_code
{
"path": "country_code",
"instance": "Mixed",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}creationDate
{
"path": "creationDate",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}dateOfBirth
{
"path": "dateOfBirth",
"instance": "String",
"options": {},
"validators": []
}displayName
{
"path": "displayName",
"instance": "String",
"options": {
"index": true
},
"validators": []
}email_channels
{
"path": "email_channels",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}fields
{
"path": "fields",
"instance": "Mixed",
"options": {},
"validators": []
}loginName
{
"path": "loginName",
"instance": "String",
"options": {
"index": true
},
"validators": []
}mobile
{
"path": "mobile",
"instance": "String",
"options": {},
"validators": []
}photo
{
"path": "photo",
"instance": "String",
"options": {},
"validators": []
}preferences.first_name
{
"path": "preferences.first_name",
"instance": "String",
"options": {},
"validators": []
}preferences.last_name
{
"path": "preferences.last_name",
"instance": "String",
"options": {},
"validators": []
}push_subscriptions
{
"path": "push_subscriptions",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}segments
{
"path": "segments",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}subscriptions
{
"path": "subscriptions",
"instance": "Mixed",
"options": {},
"validators": []
}tags
{
"path": "tags",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}userId
{
"path": "userId",
"instance": "String",
"options": {
"index": true,
"unique": true
},
"validators": []
}user_type
{
"path": "user_type",
"instance": "String",
"options": {
"index": true
},
"validators": []
}