78c6932962370b989e1008f75c91dcac2532bc0b
[motion2.git] / server / api / voiceMailMessage / voiceMailMessage.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeef0=['literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','TIMESTAMP'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xeef0,0x98));var _0x0eef=function(_0x4ed520,_0x21be63){_0x4ed520=_0x4ed520-0x0;var _0x4415a6=_0xeef0[_0x4ed520];return _0x4415a6;};'use strict';var Sequelize=require(_0x0eef('0x0'));module[_0x0eef('0x1')]={'name':{'type':Sequelize[_0x0eef('0x2')],'get':function(_0x44814f){return this[_0x0eef('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x0eef('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x0eef('0x6')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x0eef('0x5')],'defaultValue':''},'stamp':{'type':_0x0eef('0x7'),'defaultValue':Sequelize[_0x0eef('0x8')](_0x0eef('0x9'))}};