Model touchbaseevents


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
campaign_idObjectIDtouchbasecampaign
cityString
country_codeString
country_nameString
createdAtDate
emailString
eventString
ip_addressString
latitudeString
list_idObjectIDtouchbaselist
longitudeString
regionString
timestampDatex
touchbase_campaign_idString
touchbase_list_idString
uidStringx
updatedAtDate
urlString

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

campaign_id

{
  "path": "campaign_id",
  "instance": "ObjectID",
  "options": {
    "link": "touchbasecampaign"
  },
  "validators": []
}

city

{
  "path": "city",
  "instance": "String",
  "options": {},
  "validators": []
}

country_code

{
  "path": "country_code",
  "instance": "String",
  "options": {},
  "validators": []
}

country_name

{
  "path": "country_name",
  "instance": "String",
  "options": {},
  "validators": []
}

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

email

{
  "path": "email",
  "instance": "String",
  "options": {
    "email": true
  },
  "validators": []
}

event

{
  "path": "event",
  "instance": "String",
  "options": {},
  "validators": []
}

ip_address

{
  "path": "ip_address",
  "instance": "String",
  "options": {},
  "validators": []
}

latitude

{
  "path": "latitude",
  "instance": "String",
  "options": {},
  "validators": []
}

list_id

{
  "path": "list_id",
  "instance": "ObjectID",
  "options": {
    "link": "touchbaselist"
  },
  "validators": []
}

longitude

{
  "path": "longitude",
  "instance": "String",
  "options": {},
  "validators": []
}

region

{
  "path": "region",
  "instance": "String",
  "options": {},
  "validators": []
}

timestamp

{
  "path": "timestamp",
  "instance": "Date",
  "options": {
    "index": true
  },
  "validators": []
}

touchbase_campaign_id

{
  "path": "touchbase_campaign_id",
  "instance": "String",
  "options": {},
  "validators": []
}

touchbase_list_id

{
  "path": "touchbase_list_id",
  "instance": "String",
  "options": {},
  "validators": []
}

uid

{
  "path": "uid",
  "instance": "String",
  "options": {
    "unique": true
  },
  "validators": []
}

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}

url

{
  "path": "url",
  "instance": "String",
  "options": {},
  "validators": []
}