Model touchbasecampaigns
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
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 | | |
| campaign_id | String | | | | | x | |
| createdAt | Date | | | | | | |
| from_email | String | | | | | | |
| from_name | String | | | | | | |
| name | String | | | | | | |
| reply_to | String | | | | | | |
| sent_date | Date | | | | x | | |
| subject | String | | | | | | |
| text_url | String | | | | | | |
| total_recipients | Number | | | | | | |
| updatedAt | Date | | | | | | |
| url | String | | | | | | |
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": "String",
"options": {
"unique": true
},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}from_email
{
"path": "from_email",
"instance": "String",
"options": {},
"validators": []
}from_name
{
"path": "from_name",
"instance": "String",
"options": {},
"validators": []
}name
{
"path": "name",
"instance": "String",
"options": {},
"validators": []
}reply_to
{
"path": "reply_to",
"instance": "String",
"options": {},
"validators": []
}sent_date
{
"path": "sent_date",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}subject
{
"path": "subject",
"instance": "String",
"options": {},
"validators": []
}text_url
{
"path": "text_url",
"instance": "String",
"options": {},
"validators": []
}total_recipients
{
"path": "total_recipients",
"instance": "Number",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}url
{
"path": "url",
"instance": "String",
"options": {},
"validators": []
}