8cbf43663f328e225c9d22ed09419cad89e29c9d
[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 _0x0c85=['DATE','setDataValue','endtime','format','STRING','BOOLEAN','sequelize','exports'];(function(_0x497b1e,_0x586379){var _0x3f72e1=function(_0x4c227d){while(--_0x4c227d){_0x497b1e['push'](_0x497b1e['shift']());}};_0x3f72e1(++_0x586379);}(_0x0c85,0x17e));var _0x50c8=function(_0x112df6,_0x4bca1a){_0x112df6=_0x112df6-0x0;var _0x56892d=_0x0c85[_0x112df6];return _0x56892d;};'use strict';var moment=require('moment');var Sequelize=require(_0x50c8('0x0'));module[_0x50c8('0x1')]={'starttime':{'type':Sequelize[_0x50c8('0x2')],'set':function(_0x167dc8){this[_0x50c8('0x3')]('starttime',_0x167dc8);this[_0x50c8('0x3')](_0x50c8('0x4'),moment()[_0x50c8('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x50c8('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x50c8('0x6')]},'queue':{'type':Sequelize[_0x50c8('0x6')]},'uniqueid':{'type':Sequelize[_0x50c8('0x6')]},'calleridname':{'type':Sequelize[_0x50c8('0x6')]},'calleridnum':{'type':Sequelize[_0x50c8('0x6')]},'completed':{'type':Sequelize[_0x50c8('0x7')],'defaultValue':![]}};