Built motion from commit 449495f6.|2.6.27
[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 _0x23ce=['STRING','BOOLEAN','moment','sequelize','DATE','starttime','endtime','format'];(function(_0x249611,_0x52dbb0){var _0x1f23bd=function(_0x37509e){while(--_0x37509e){_0x249611['push'](_0x249611['shift']());}};_0x1f23bd(++_0x52dbb0);}(_0x23ce,0x1e2));var _0xe23c=function(_0x85953f,_0x2decd2){_0x85953f=_0x85953f-0x0;var _0x35a9c5=_0x23ce[_0x85953f];return _0x35a9c5;};'use strict';var moment=require(_0xe23c('0x0'));var Sequelize=require(_0xe23c('0x1'));module['exports']={'starttime':{'type':Sequelize[_0xe23c('0x2')],'set':function(_0x3eef00){this['setDataValue'](_0xe23c('0x3'),_0x3eef00);this['setDataValue'](_0xe23c('0x4'),moment()[_0xe23c('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xe23c('0x2')]},'membername':{'type':Sequelize[_0xe23c('0x6')]},'projectname':{'type':Sequelize[_0xe23c('0x6')]},'queue':{'type':Sequelize[_0xe23c('0x6')]},'uniqueid':{'type':Sequelize[_0xe23c('0x6')]},'calleridname':{'type':Sequelize[_0xe23c('0x6')]},'calleridnum':{'type':Sequelize[_0xe23c('0x6')]},'completed':{'type':Sequelize[_0xe23c('0x7')],'defaultValue':![]}};