d5da18720ac3e4b5792cfc7df7187844eda4588a
[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 _0xb2b5=['literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','INTEGER','STRING','long'];(function(_0x5011a7,_0x52964b){var _0xd6e960=function(_0x23002e){while(--_0x23002e){_0x5011a7['push'](_0x5011a7['shift']());}};_0xd6e960(++_0x52964b);}(_0xb2b5,0x172));var _0x5b2b=function(_0x16b9ed,_0x56517a){_0x16b9ed=_0x16b9ed-0x0;var _0x66b1f8=_0xb2b5[_0x16b9ed];return _0x66b1f8;};'use strict';var Sequelize=require(_0x5b2b('0x0'));module[_0x5b2b('0x1')]={'name':{'type':Sequelize[_0x5b2b('0x2')],'get':function(_0x1a6530){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x5b2b('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x5b2b('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x5b2b('0x6')](_0x5b2b('0x7'))}};