879190510e53f4c7623152eb9652188faca712e5
[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 _0x966e=['STRING','BOOLEAN','moment','sequelize','exports','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0x966e,0xa7));var _0xe966=function(_0x580d0e,_0x1e5f43){_0x580d0e=_0x580d0e-0x0;var _0xb51111=_0x966e[_0x580d0e];return _0xb51111;};'use strict';var moment=require(_0xe966('0x0'));var Sequelize=require(_0xe966('0x1'));module[_0xe966('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x5d5a2a){this['setDataValue'](_0xe966('0x3'),_0x5d5a2a);this[_0xe966('0x4')](_0xe966('0x5'),moment()[_0xe966('0x6')](_0xe966('0x7')));}},'endtime':{'type':Sequelize[_0xe966('0x8')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0xe966('0x9')]},'queue':{'type':Sequelize[_0xe966('0x9')]},'uniqueid':{'type':Sequelize[_0xe966('0x9')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xe966('0x9')]},'completed':{'type':Sequelize[_0xe966('0xa')],'defaultValue':![]}};