Built motion from commit d5e4af8c.|2.6.23
[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 _0xff3d=['endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime'];(function(_0x3ab001,_0x1c14b1){var _0x251660=function(_0x1b4478){while(--_0x1b4478){_0x3ab001['push'](_0x3ab001['shift']());}};_0x251660(++_0x1c14b1);}(_0xff3d,0x126));var _0xdff3=function(_0x16c8b4,_0x594f30){_0x16c8b4=_0x16c8b4-0x0;var _0x3ba4c7=_0xff3d[_0x16c8b4];return _0x3ba4c7;};'use strict';var moment=require(_0xdff3('0x0'));var Sequelize=require(_0xdff3('0x1'));module[_0xdff3('0x2')]={'starttime':{'type':Sequelize[_0xdff3('0x3')],'set':function(_0xcc8956){this[_0xdff3('0x4')](_0xdff3('0x5'),_0xcc8956);this[_0xdff3('0x4')](_0xdff3('0x6'),moment()['format'](_0xdff3('0x7')));}},'endtime':{'type':Sequelize[_0xdff3('0x3')]},'membername':{'type':Sequelize[_0xdff3('0x8')]},'projectname':{'type':Sequelize[_0xdff3('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xdff3('0x8')]},'calleridname':{'type':Sequelize[_0xdff3('0x8')]},'calleridnum':{'type':Sequelize[_0xdff3('0x8')]},'completed':{'type':Sequelize[_0xdff3('0x9')],'defaultValue':![]}};