b584486509575e103d7b8e6f05b1f5a3bc7e6df3
[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 _0xdbed=['sequelize','exports','DATE','setDataValue','STRING','BOOLEAN','moment'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xdbed,0xca));var _0xddbe=function(_0x345133,_0x216ea6){_0x345133=_0x345133-0x0;var _0x3dd28a=_0xdbed[_0x345133];return _0x3dd28a;};'use strict';var moment=require(_0xddbe('0x0'));var Sequelize=require(_0xddbe('0x1'));module[_0xddbe('0x2')]={'starttime':{'type':Sequelize[_0xddbe('0x3')],'set':function(_0x4f7e45){this[_0xddbe('0x4')]('starttime',_0x4f7e45);this['setDataValue']('endtime',moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xddbe('0x3')]},'membername':{'type':Sequelize[_0xddbe('0x5')]},'projectname':{'type':Sequelize[_0xddbe('0x5')]},'queue':{'type':Sequelize[_0xddbe('0x5')]},'uniqueid':{'type':Sequelize[_0xddbe('0x5')]},'calleridname':{'type':Sequelize[_0xddbe('0x5')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xddbe('0x6')],'defaultValue':![]}};