Model xeroaccounts
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| setup | x | x | x | x |
| api | | x | | |
| admin | | 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 | | |
| access_token | String | | | | | | |
| client_id | String | | | | | | |
| client_secret | String | | | | | | |
| consumer_key | String | | | | | | |
| consumer_secret | String | | | | | | |
| createdAt | Date | | | | | | |
| refresh_token | String | | | | | | |
| tenant_id | String | | | | | | |
| tenant_ids | Array of Mixed | | | [Function] | | | |
| token_expires | Date | | | | | | |
| 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": []
}access_token
{
"path": "access_token",
"instance": "String",
"options": {},
"validators": []
}client_id
{
"path": "client_id",
"instance": "String",
"options": {},
"validators": []
}client_secret
{
"path": "client_secret",
"instance": "String",
"options": {},
"validators": []
}consumer_key
{
"path": "consumer_key",
"instance": "String",
"options": {},
"validators": []
}consumer_secret
{
"path": "consumer_secret",
"instance": "String",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}refresh_token
{
"path": "refresh_token",
"instance": "String",
"options": {},
"validators": []
}tenant_id
{
"path": "tenant_id",
"instance": "String",
"options": {},
"validators": []
}tenant_ids
{
"path": "tenant_ids",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}token_expires
{
"path": "token_expires",
"instance": "Date",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}