15cf5a3e5fca270385c2854ea8b1a0ab48474a16
[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 _0x8dec=['STRING','BOOLEAN','moment','sequelize','exports','setDataValue','starttime','endtime','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x298ed3,_0x4ab5e1){var _0x5aad28=function(_0x168687){while(--_0x168687){_0x298ed3['push'](_0x298ed3['shift']());}};_0x5aad28(++_0x4ab5e1);}(_0x8dec,0x1e2));var _0xc8de=function(_0x5a7676,_0x1dd3b9){_0x5a7676=_0x5a7676-0x0;var _0x140d86=_0x8dec[_0x5a7676];return _0x140d86;};'use strict';var moment=require(_0xc8de('0x0'));var Sequelize=require(_0xc8de('0x1'));module[_0xc8de('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x72f622){this[_0xc8de('0x3')](_0xc8de('0x4'),_0x72f622);this['setDataValue'](_0xc8de('0x5'),moment()['format'](_0xc8de('0x6')));}},'endtime':{'type':Sequelize[_0xc8de('0x7')]},'membername':{'type':Sequelize[_0xc8de('0x8')]},'projectname':{'type':Sequelize[_0xc8de('0x8')]},'queue':{'type':Sequelize[_0xc8de('0x8')]},'uniqueid':{'type':Sequelize[_0xc8de('0x8')]},'calleridname':{'type':Sequelize[_0xc8de('0x8')]},'calleridnum':{'type':Sequelize[_0xc8de('0x8')]},'completed':{'type':Sequelize[_0xc8de('0x9')],'defaultValue':![]}};