5a3f9ff3e85e3bb5215628e482784d7aaefc1b8e
[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 _0x0a39=['STRING','BLOB','long','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','VIRTUAL','INTEGER'];(function(_0x2bfe18,_0x4087f3){var _0x5d868b=function(_0x2f391c){while(--_0x2f391c){_0x2bfe18['push'](_0x2bfe18['shift']());}};_0x5d868b(++_0x4087f3);}(_0x0a39,0xa8));var _0x90a3=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x0a39[_0x19950b];return _0x3c6b41;};'use strict';var Sequelize=require(_0x90a3('0x0'));module['exports']={'name':{'type':Sequelize[_0x90a3('0x1')],'get':function(_0x27e203){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x90a3('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x90a3('0x4')](_0x90a3('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x90a3('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x90a3('0x6'),'defaultValue':Sequelize[_0x90a3('0x7')](_0x90a3('0x8'))}};