37c8a67bb3696b8299293487a6ec8aaeee18ad36
[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 _0x3d9c=['STRING','BLOB','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER'];(function(_0x205a9d,_0x1cd184){var _0x4bea74=function(_0x496ba9){while(--_0x496ba9){_0x205a9d['push'](_0x205a9d['shift']());}};_0x4bea74(++_0x1cd184);}(_0x3d9c,0xb8));var _0xc3d9=function(_0x89c6d9,_0x520f9c){_0x89c6d9=_0x89c6d9-0x0;var _0xb7b163=_0x3d9c[_0x89c6d9];return _0xb7b163;};'use strict';var Sequelize=require(_0xc3d9('0x0'));module[_0xc3d9('0x1')]={'name':{'type':Sequelize[_0xc3d9('0x2')],'get':function(_0x2318c2){return this[_0xc3d9('0x3')]('id');}},'msgnum':{'type':Sequelize[_0xc3d9('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'recording':{'type':Sequelize[_0xc3d9('0x6')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xc3d9('0x5')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xc3d9('0x7')](_0xc3d9('0x8'))}};