Built motion from commit da617fac.|2.6.6
[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 _0x1f46=['CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long','literal'];(function(_0x4fab9b,_0x576e64){var _0x3faeba=function(_0x59ed03){while(--_0x59ed03){_0x4fab9b['push'](_0x4fab9b['shift']());}};_0x3faeba(++_0x576e64);}(_0x1f46,0xb5));var _0x61f4=function(_0x45b3cd,_0xfd8427){_0x45b3cd=_0x45b3cd-0x0;var _0x546df6=_0x1f46[_0x45b3cd];return _0x546df6;};'use strict';var Sequelize=require(_0x61f4('0x0'));module[_0x61f4('0x1')]={'name':{'type':Sequelize[_0x61f4('0x2')],'get':function(_0x34d292){return this[_0x61f4('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x61f4('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x61f4('0x6')](_0x61f4('0x7')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x61f4('0x5')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x61f4('0x8')](_0x61f4('0x9'))}};