Built motion from commit ffdca78c.|2.6.24
[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 _0x0510=['STRING','BOOLEAN','moment','sequelize','DATE','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0x0510,0x188));var _0x0051=function(_0x5d949f,_0x3ee36e){_0x5d949f=_0x5d949f-0x0;var _0x4dfb48=_0x0510[_0x5d949f];return _0x4dfb48;};'use strict';var moment=require(_0x0051('0x0'));var Sequelize=require(_0x0051('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x0051('0x2')],'set':function(_0x598d68){this['setDataValue'](_0x0051('0x3'),_0x598d68);this[_0x0051('0x4')](_0x0051('0x5'),moment()[_0x0051('0x6')](_0x0051('0x7')));}},'endtime':{'type':Sequelize[_0x0051('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x0051('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x0051('0x8')]},'calleridname':{'type':Sequelize[_0x0051('0x8')]},'calleridnum':{'type':Sequelize[_0x0051('0x8')]},'completed':{'type':Sequelize[_0x0051('0x9')],'defaultValue':![]}};