Built motion from commit (unavailable).|2.5.1
[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 _0x71f0=['STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime','endtime'];(function(_0x23da6b,_0x173cf1){var _0x5a9880=function(_0x1bcf3a){while(--_0x1bcf3a){_0x23da6b['push'](_0x23da6b['shift']());}};_0x5a9880(++_0x173cf1);}(_0x71f0,0x12b));var _0x071f=function(_0x5611a9,_0x460b05){_0x5611a9=_0x5611a9-0x0;var _0x483cd1=_0x71f0[_0x5611a9];return _0x483cd1;};'use strict';var moment=require(_0x071f('0x0'));var Sequelize=require(_0x071f('0x1'));module[_0x071f('0x2')]={'starttime':{'type':Sequelize[_0x071f('0x3')],'set':function(_0xd3015){this[_0x071f('0x4')](_0x071f('0x5'),_0xd3015);this[_0x071f('0x4')](_0x071f('0x6'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x071f('0x7')]},'queue':{'type':Sequelize[_0x071f('0x7')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x071f('0x7')]},'calleridnum':{'type':Sequelize[_0x071f('0x7')]},'completed':{'type':Sequelize[_0x071f('0x8')],'defaultValue':![]}};