Model whitebeardcustomers


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
ownerxxxx
userx
all

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
activeString
archiveCreditsString
cityStringx
clientIdMixed
countryStringx
country_codeMixed
createdAtDate
creationDateDatex
dateOfBirthString
displayNameStringx
email_channelsArray of Mixed[Function]
fieldsMixed
loginNameStringx
mobileString
photoString
preferences.first_nameString
preferences.last_nameString
push_subscriptionsArray of Mixed[Function]
segmentsArray of Mixed[Function]
subscriptionsMixed
tagsArray of Mixed[Function]
updatedAtDate
userIdStringxx
user_typeStringx

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": []
}