74f79230c41032bcef2ee5c808296532c5c5159d
[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 _0x2ff1=['setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','exports','DATE'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x2ff1,0x1d1));var _0x12ff=function(_0x4935f7,_0x5988dd){_0x4935f7=_0x4935f7-0x0;var _0x516a39=_0x2ff1[_0x4935f7];return _0x516a39;};'use strict';var moment=require(_0x12ff('0x0'));var Sequelize=require('sequelize');module[_0x12ff('0x1')]={'starttime':{'type':Sequelize[_0x12ff('0x2')],'set':function(_0x63d04){this[_0x12ff('0x3')](_0x12ff('0x4'),_0x63d04);this['setDataValue'](_0x12ff('0x5'),moment()[_0x12ff('0x6')](_0x12ff('0x7')));}},'endtime':{'type':Sequelize[_0x12ff('0x2')]},'membername':{'type':Sequelize[_0x12ff('0x8')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x12ff('0x8')]},'uniqueid':{'type':Sequelize[_0x12ff('0x8')]},'calleridname':{'type':Sequelize[_0x12ff('0x8')]},'calleridnum':{'type':Sequelize[_0x12ff('0x8')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};