Built motion from commit f0a64034.|2.6.11
[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 _0xf2f0=['DATE','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','exports'];(function(_0x450c3c,_0x5a4c5e){var _0x1ea5b0=function(_0x5dcc3c){while(--_0x5dcc3c){_0x450c3c['push'](_0x450c3c['shift']());}};_0x1ea5b0(++_0x5a4c5e);}(_0xf2f0,0x173));var _0x0f2f=function(_0x27ab99,_0x5a6d79){_0x27ab99=_0x27ab99-0x0;var _0x1e66c2=_0xf2f0[_0x27ab99];return _0x1e66c2;};'use strict';var moment=require(_0x0f2f('0x0'));var Sequelize=require(_0x0f2f('0x1'));module[_0x0f2f('0x2')]={'starttime':{'type':Sequelize[_0x0f2f('0x3')],'set':function(_0x59e76a){this[_0x0f2f('0x4')](_0x0f2f('0x5'),_0x59e76a);this[_0x0f2f('0x4')](_0x0f2f('0x6'),moment()[_0x0f2f('0x7')](_0x0f2f('0x8')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x0f2f('0x9')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x0f2f('0x9')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x0f2f('0xa')],'defaultValue':![]}};