Built motion from commit (unavailable).|2.5.6
[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 _0x9107=['starttime','YYYY-MM-DD\x20HH:mm:ss','DATE','STRING','sequelize','setDataValue'];(function(_0x25b867,_0x42204e){var _0x61e569=function(_0x2c53bd){while(--_0x2c53bd){_0x25b867['push'](_0x25b867['shift']());}};_0x61e569(++_0x42204e);}(_0x9107,0xca));var _0x7910=function(_0x22e322,_0x5bfd6f){_0x22e322=_0x22e322-0x0;var _0xc82438=_0x9107[_0x22e322];return _0xc82438;};'use strict';var moment=require('moment');var Sequelize=require(_0x7910('0x0'));module['exports']={'starttime':{'type':Sequelize['DATE'],'set':function(_0xa700d6){this[_0x7910('0x1')](_0x7910('0x2'),_0xa700d6);this[_0x7910('0x1')]('endtime',moment()['format'](_0x7910('0x3')));}},'endtime':{'type':Sequelize[_0x7910('0x4')]},'membername':{'type':Sequelize[_0x7910('0x5')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x7910('0x5')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x7910('0x5')]},'calleridnum':{'type':Sequelize[_0x7910('0x5')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};