1a3eeb93e6f50b024e3271df1604d582a2ace431
[motion2.git] / server / api / jscriptySessionReport / jscriptySessionReport.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 _0xa02f=['format','STRING','BOOLEAN','DATE','setDataValue','starttime','endtime'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0xa02f,0x1bc));var _0xfa02=function(_0x51ece7,_0x38c48a){_0x51ece7=_0x51ece7-0x0;var _0x2cf6f1=_0xa02f[_0x51ece7];return _0x2cf6f1;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0xfa02('0x0')],'set':function(_0x69c633){this[_0xfa02('0x1')](_0xfa02('0x2'),_0x69c633);this[_0xfa02('0x1')](_0xfa02('0x3'),moment()[_0xfa02('0x4')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xfa02('0x0')]},'membername':{'type':Sequelize[_0xfa02('0x5')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xfa02('0x5')]},'calleridname':{'type':Sequelize[_0xfa02('0x5')]},'calleridnum':{'type':Sequelize[_0xfa02('0x5')]},'completed':{'type':Sequelize[_0xfa02('0x6')],'defaultValue':![]}};