75cea8dd49cf6c1738f931188d66965c817b71f5
[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 _0x7adc=['moment','sequelize','exports','DATE','setDataValue','endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0x1f53c8,_0x3c2f8e){var _0x10973e=function(_0x20ddc8){while(--_0x20ddc8){_0x1f53c8['push'](_0x1f53c8['shift']());}};_0x10973e(++_0x3c2f8e);}(_0x7adc,0x1e6));var _0xc7ad=function(_0xd1d19a,_0x1933f0){_0xd1d19a=_0xd1d19a-0x0;var _0x52a79d=_0x7adc[_0xd1d19a];return _0x52a79d;};'use strict';var moment=require(_0xc7ad('0x0'));var Sequelize=require(_0xc7ad('0x1'));module[_0xc7ad('0x2')]={'starttime':{'type':Sequelize[_0xc7ad('0x3')],'set':function(_0x4fcc98){this[_0xc7ad('0x4')]('starttime',_0x4fcc98);this[_0xc7ad('0x4')](_0xc7ad('0x5'),moment()['format'](_0xc7ad('0x6')));}},'endtime':{'type':Sequelize[_0xc7ad('0x3')]},'membername':{'type':Sequelize[_0xc7ad('0x7')]},'projectname':{'type':Sequelize[_0xc7ad('0x7')]},'queue':{'type':Sequelize[_0xc7ad('0x7')]},'uniqueid':{'type':Sequelize[_0xc7ad('0x7')]},'calleridname':{'type':Sequelize[_0xc7ad('0x7')]},'calleridnum':{'type':Sequelize[_0xc7ad('0x7')]},'completed':{'type':Sequelize[_0xc7ad('0x8')],'defaultValue':![]}};