c6502f8fa25f1ba7176fcafd029d657e1fb3c253
[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 _0x5ef8=['exports','DATE','setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize'];(function(_0x8606b8,_0x4c6313){var _0x4d896b=function(_0x320f96){while(--_0x320f96){_0x8606b8['push'](_0x8606b8['shift']());}};_0x4d896b(++_0x4c6313);}(_0x5ef8,0x94));var _0x85ef=function(_0x1df774,_0x2fc6a4){_0x1df774=_0x1df774-0x0;var _0x4a2732=_0x5ef8[_0x1df774];return _0x4a2732;};'use strict';var moment=require(_0x85ef('0x0'));var Sequelize=require(_0x85ef('0x1'));module[_0x85ef('0x2')]={'starttime':{'type':Sequelize[_0x85ef('0x3')],'set':function(_0x4fe3ec){this[_0x85ef('0x4')](_0x85ef('0x5'),_0x4fe3ec);this[_0x85ef('0x4')]('endtime',moment()[_0x85ef('0x6')](_0x85ef('0x7')));}},'endtime':{'type':Sequelize[_0x85ef('0x3')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x85ef('0x8')]},'queue':{'type':Sequelize[_0x85ef('0x8')]},'uniqueid':{'type':Sequelize[_0x85ef('0x8')]},'calleridname':{'type':Sequelize[_0x85ef('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x85ef('0x9')],'defaultValue':![]}};