1ddd278ddafb2218929a403efda07ff0d91fd508
[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 _0xac61=['long','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','getDataValue','INTEGER','STRING','BLOB'];(function(_0x4a44e7,_0x5ebef7){var _0x28ce16=function(_0x488bea){while(--_0x488bea){_0x4a44e7['push'](_0x4a44e7['shift']());}};_0x28ce16(++_0x5ebef7);}(_0xac61,0xae));var _0x1ac6=function(_0x42a5ad,_0x39f8d4){_0x42a5ad=_0x42a5ad-0x0;var _0x45670e=_0xac61[_0x42a5ad];return _0x45670e;};'use strict';var Sequelize=require(_0x1ac6('0x0'));module[_0x1ac6('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x5cdc3c){return this[_0x1ac6('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x1ac6('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x1ac6('0x5')](_0x1ac6('0x6')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x1ac6('0x4')],'defaultValue':''},'stamp':{'type':_0x1ac6('0x7'),'defaultValue':Sequelize[_0x1ac6('0x8')](_0x1ac6('0x9'))}};