0bb988ebeb8d682f8f1200a3811ca0fa4d38159b
[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 _0x72a6=['endtime','format','STRING','BOOLEAN','moment','exports','DATE','setDataValue','starttime'];(function(_0x3216f5,_0xe32e8a){var _0x17035a=function(_0x5f28cd){while(--_0x5f28cd){_0x3216f5['push'](_0x3216f5['shift']());}};_0x17035a(++_0xe32e8a);}(_0x72a6,0x82));var _0x672a=function(_0x2e0324,_0x4642ac){_0x2e0324=_0x2e0324-0x0;var _0x22d0c8=_0x72a6[_0x2e0324];return _0x22d0c8;};'use strict';var moment=require(_0x672a('0x0'));var Sequelize=require('sequelize');module[_0x672a('0x1')]={'starttime':{'type':Sequelize[_0x672a('0x2')],'set':function(_0x3b8090){this[_0x672a('0x3')](_0x672a('0x4'),_0x3b8090);this['setDataValue'](_0x672a('0x5'),moment()[_0x672a('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x672a('0x7')]},'projectname':{'type':Sequelize[_0x672a('0x7')]},'queue':{'type':Sequelize[_0x672a('0x7')]},'uniqueid':{'type':Sequelize[_0x672a('0x7')]},'calleridname':{'type':Sequelize[_0x672a('0x7')]},'calleridnum':{'type':Sequelize[_0x672a('0x7')]},'completed':{'type':Sequelize[_0x672a('0x8')],'defaultValue':![]}};