8e2efb9766f395cde73c0f9ef98ee38c2589ce2d
[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 _0x4362=['YYYY-MM-DD\x20HH:mm:ss','STRING','moment','sequelize','exports','DATE','starttime'];(function(_0x3f2cae,_0x1415e5){var _0x30e570=function(_0x2e91f7){while(--_0x2e91f7){_0x3f2cae['push'](_0x3f2cae['shift']());}};_0x30e570(++_0x1415e5);}(_0x4362,0x105));var _0x2436=function(_0x29a8f7,_0x2441f8){_0x29a8f7=_0x29a8f7-0x0;var _0x37a48c=_0x4362[_0x29a8f7];return _0x37a48c;};'use strict';var moment=require(_0x2436('0x0'));var Sequelize=require(_0x2436('0x1'));module[_0x2436('0x2')]={'starttime':{'type':Sequelize[_0x2436('0x3')],'set':function(_0x52caac){this['setDataValue'](_0x2436('0x4'),_0x52caac);this['setDataValue']('endtime',moment()['format'](_0x2436('0x5')));}},'endtime':{'type':Sequelize[_0x2436('0x3')]},'membername':{'type':Sequelize[_0x2436('0x6')]},'projectname':{'type':Sequelize[_0x2436('0x6')]},'queue':{'type':Sequelize[_0x2436('0x6')]},'uniqueid':{'type':Sequelize[_0x2436('0x6')]},'calleridname':{'type':Sequelize[_0x2436('0x6')]},'calleridnum':{'type':Sequelize[_0x2436('0x6')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};