Built motion from commit 1fa89557.|2.6.10
[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 _0x675f=['INTEGER','STRING','long','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x675f,0x7a));var _0xf675=function(_0x5191d7,_0xd8a377){_0x5191d7=_0x5191d7-0x0;var _0x127ea5=_0x675f[_0x5191d7];return _0x127ea5;};'use strict';var Sequelize=require(_0xf675('0x0'));module[_0xf675('0x1')]={'name':{'type':Sequelize[_0xf675('0x2')],'get':function(_0x3ced01){return this[_0xf675('0x3')]('id');}},'msgnum':{'type':Sequelize[_0xf675('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0xf675('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xf675('0x5')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xf675('0x7')](_0xf675('0x8'))}};