Model whitebeardsubscriptions
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 | | |
| activationDate | Date | | | | x | | |
| attempts | String | | | | | | |
| cancellationReason | String | | | | | | |
| cancellationRequestDate | Date | | | | | | |
| createdAt | Date | | | | | | |
| currency | String | | | | x | | |
| deactivationDate | Date | | | | x | | |
| group | String | | | | x | | |
| group_name | String | | | | | | |
| id | String | | | | x | x | |
| lastFailedOrder | Mixed | | | | | | |
| nextRenewal | Date | | | | x | | |
| paymentMethod | String | | | | x | | |
| purchased_item | Mixed | | | | | | |
| referenceOrderId | String | | | | x | | |
| status | String | | | | x | | |
| updatedAt | Date | | | | | | |
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": []
}activationDate
{
"path": "activationDate",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}attempts
{
"path": "attempts",
"instance": "String",
"options": {},
"validators": []
}cancellationReason
{
"path": "cancellationReason",
"instance": "String",
"options": {},
"validators": []
}cancellationRequestDate
{
"path": "cancellationRequestDate",
"instance": "Date",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}currency
{
"path": "currency",
"instance": "String",
"options": {
"index": true
},
"validators": []
}deactivationDate
{
"path": "deactivationDate",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}group
{
"path": "group",
"instance": "String",
"options": {
"index": true
},
"validators": []
}group_name
{
"path": "group_name",
"instance": "String",
"options": {},
"validators": []
}id
{
"path": "id",
"instance": "String",
"options": {
"index": true,
"unique": true
},
"validators": []
}lastFailedOrder
{
"path": "lastFailedOrder",
"instance": "Mixed",
"options": {},
"validators": []
}nextRenewal
{
"path": "nextRenewal",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}paymentMethod
{
"path": "paymentMethod",
"instance": "String",
"options": {
"index": true
},
"validators": []
}purchased_item
{
"path": "purchased_item",
"instance": "Mixed",
"options": {},
"validators": []
}referenceOrderId
{
"path": "referenceOrderId",
"instance": "String",
"options": {
"index": true
},
"validators": []
}status
{
"path": "status",
"instance": "String",
"options": {
"index": true
},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}