08b577be0bf054c3c05ebb2d5685d6e233bebf7d
[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 _0xebd5=['BOOLEAN','moment','sequelize','DATE','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x3d145d,_0x3aa561){var _0x200285=function(_0x51e7ce){while(--_0x51e7ce){_0x3d145d['push'](_0x3d145d['shift']());}};_0x200285(++_0x3aa561);}(_0xebd5,0xf4));var _0x5ebd=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0xebd5[_0x465a0c];return _0x1e202e;};'use strict';var moment=require(_0x5ebd('0x0'));var Sequelize=require(_0x5ebd('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x5ebd('0x2')],'set':function(_0x2815d4){this[_0x5ebd('0x3')]('starttime',_0x2815d4);this[_0x5ebd('0x3')](_0x5ebd('0x4'),moment()[_0x5ebd('0x5')](_0x5ebd('0x6')));}},'endtime':{'type':Sequelize[_0x5ebd('0x2')]},'membername':{'type':Sequelize[_0x5ebd('0x7')]},'projectname':{'type':Sequelize[_0x5ebd('0x7')]},'queue':{'type':Sequelize[_0x5ebd('0x7')]},'uniqueid':{'type':Sequelize[_0x5ebd('0x7')]},'calleridname':{'type':Sequelize[_0x5ebd('0x7')]},'calleridnum':{'type':Sequelize[_0x5ebd('0x7')]},'completed':{'type':Sequelize[_0x5ebd('0x8')],'defaultValue':![]}};