Built motion from commit 355702c8.|2.5.41
[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 _0x65e2=['sequelize','exports','DATE','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment'];(function(_0xe5e815,_0x1449ce){var _0x34dfda=function(_0x2caa70){while(--_0x2caa70){_0xe5e815['push'](_0xe5e815['shift']());}};_0x34dfda(++_0x1449ce);}(_0x65e2,0x1b7));var _0x265e=function(_0x5e0568,_0x23a4dd){_0x5e0568=_0x5e0568-0x0;var _0x1dc061=_0x65e2[_0x5e0568];return _0x1dc061;};'use strict';var moment=require(_0x265e('0x0'));var Sequelize=require(_0x265e('0x1'));module[_0x265e('0x2')]={'starttime':{'type':Sequelize[_0x265e('0x3')],'set':function(_0x38bcd9){this['setDataValue'](_0x265e('0x4'),_0x38bcd9);this[_0x265e('0x5')](_0x265e('0x6'),moment()[_0x265e('0x7')](_0x265e('0x8')));}},'endtime':{'type':Sequelize[_0x265e('0x3')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x265e('0x9')]},'queue':{'type':Sequelize[_0x265e('0x9')]},'uniqueid':{'type':Sequelize[_0x265e('0x9')]},'calleridname':{'type':Sequelize[_0x265e('0x9')]},'calleridnum':{'type':Sequelize[_0x265e('0x9')]},'completed':{'type':Sequelize[_0x265e('0xa')],'defaultValue':![]}};