77520b05704ca6623bafa7ed002cef44a07a8ec3
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.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 _0x56f7=['YYYY-MM-DD\x20HH:mm:ss','sequelize','exports','STRING','DATE','format'];(function(_0x27d063,_0x1b3a9c){var _0x47bb57=function(_0x363c7d){while(--_0x363c7d){_0x27d063['push'](_0x27d063['shift']());}};_0x47bb57(++_0x1b3a9c);}(_0x56f7,0x12d));var _0x756f=function(_0xc905bf,_0x3fb45d){_0xc905bf=_0xc905bf-0x0;var _0x3ffd14=_0x56f7[_0xc905bf];return _0x3ffd14;};'use strict';var Sequelize=require(_0x756f('0x0'));var moment=require('moment');module[_0x756f('0x1')]={'time':{'type':Sequelize[_0x756f('0x2')]},'callid':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'queuename':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'agent':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'event':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'data':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'data1':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'data2':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data3':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data4':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'data5':{'type':Sequelize[_0x756f('0x2')],'allowNull':![],'defaultValue':''},'dtm':{'type':Sequelize[_0x756f('0x3')],'allowNull':![],'defaultValue':moment()[_0x756f('0x4')](_0x756f('0x5'))}};