1200e6d8ffe14a1eb5dcce4cde0e6509eb966fd3
[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 _0x9d3f=['INTEGER','STRING','BLOB','long','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','exports','VIRTUAL','getDataValue'];(function(_0x42b707,_0x19a39f){var _0x592719=function(_0x5562c2){while(--_0x5562c2){_0x42b707['push'](_0x42b707['shift']());}};_0x592719(++_0x19a39f);}(_0x9d3f,0x1d1));var _0xf9d3=function(_0x1c119a,_0x24c360){_0x1c119a=_0x1c119a-0x0;var _0x3b14da=_0x9d3f[_0x1c119a];return _0x3b14da;};'use strict';var Sequelize=require('sequelize');module[_0xf9d3('0x0')]={'name':{'type':Sequelize[_0xf9d3('0x1')],'get':function(_0x41ce8d){return this[_0xf9d3('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xf9d3('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0xf9d3('0x5')](_0xf9d3('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xf9d3('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xf9d3('0x7')](_0xf9d3('0x8'))}};