Model sailthru_message_transactional


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
click_timeDate
clicksArray[Function]
createdAtDate
delivery_statusString
deviceString
idStringxxx
is_real_openBoolean
message_idString
message_revenueNumber
open_timeDate
opensArray[Function]
optout_timeDate
profile_idStringxx
send_timeDatexx
updatedAtDate

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

click_time

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

clicks

{
  "path": "clicks",
  "instance": "Array",
  "options": {
    "type": [
      {}
    ]
  },
  "validators": [],
  "defaultValue": "[Function]"
}

createdAt

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

delivery_status

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

device

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

id

{
  "path": "id",
  "instance": "String",
  "options": {
    "unique": true,
    "index": true,
    "required": true
  },
  "validators": [
    {
      "message": "Path `{PATH}` is required."
    }
  ],
  "isRequired": true
}

Validators

is_real_open

{
  "path": "is_real_open",
  "instance": "Boolean",
  "options": {},
  "validators": []
}

message_id

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

message_revenue

{
  "path": "message_revenue",
  "instance": "Number",
  "options": {},
  "validators": []
}

open_time

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

opens

{
  "path": "opens",
  "instance": "Array",
  "options": {
    "type": [
      {}
    ]
  },
  "validators": [],
  "defaultValue": "[Function]"
}

optout_time

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

profile_id

{
  "path": "profile_id",
  "instance": "String",
  "options": {
    "required": true,
    "index": true
  },
  "validators": [
    {
      "message": "Path `{PATH}` is required."
    }
  ],
  "isRequired": true
}

Validators

send_time

{
  "path": "send_time",
  "instance": "Date",
  "options": {
    "required": true,
    "index": true
  },
  "validators": [
    {
      "message": "Path `{PATH}` is required."
    }
  ],
  "isRequired": true
}

Validators

updatedAt

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