Built motion from commit 0900f080.|2.5.45
[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 _0x30d4=['starttime','setDataValue','format','YYYY-MM-DD\x20HH:mm:ss','DATE','STRING','BOOLEAN','moment','sequelize','exports'];(function(_0x4bf675,_0x207936){var _0x49cb35=function(_0x27fbbf){while(--_0x27fbbf){_0x4bf675['push'](_0x4bf675['shift']());}};_0x49cb35(++_0x207936);}(_0x30d4,0xed));var _0x430d=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0x30d4[_0x126558];return _0x1f6d14;};'use strict';var moment=require(_0x430d('0x0'));var Sequelize=require(_0x430d('0x1'));module[_0x430d('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0xe250fc){this['setDataValue'](_0x430d('0x3'),_0xe250fc);this[_0x430d('0x4')]('endtime',moment()[_0x430d('0x5')](_0x430d('0x6')));}},'endtime':{'type':Sequelize[_0x430d('0x7')]},'membername':{'type':Sequelize[_0x430d('0x8')]},'projectname':{'type':Sequelize[_0x430d('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x430d('0x8')]},'calleridname':{'type':Sequelize[_0x430d('0x8')]},'calleridnum':{'type':Sequelize[_0x430d('0x8')]},'completed':{'type':Sequelize[_0x430d('0x9')],'defaultValue':![]}};