Built motion from commit (unavailable).|2.5.12
[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 _0x29a2=['starttime','format','STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue'];(function(_0x144dea,_0x39faf6){var _0x404bba=function(_0x55e5cd){while(--_0x55e5cd){_0x144dea['push'](_0x144dea['shift']());}};_0x404bba(++_0x39faf6);}(_0x29a2,0x199));var _0x229a=function(_0x215e65,_0x183f97){_0x215e65=_0x215e65-0x0;var _0xa85842=_0x29a2[_0x215e65];return _0xa85842;};'use strict';var moment=require(_0x229a('0x0'));var Sequelize=require(_0x229a('0x1'));module[_0x229a('0x2')]={'starttime':{'type':Sequelize[_0x229a('0x3')],'set':function(_0x6e6345){this[_0x229a('0x4')](_0x229a('0x5'),_0x6e6345);this['setDataValue']('endtime',moment()[_0x229a('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x229a('0x3')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x229a('0x7')]},'queue':{'type':Sequelize[_0x229a('0x7')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x229a('0x7')]},'completed':{'type':Sequelize[_0x229a('0x8')],'defaultValue':![]}};