8d4477567891cf1be9a08b8beb04f99542f42487
[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 _0x053c=['starttime','endtime','DATE','STRING','moment','sequelize','exports','setDataValue'];(function(_0x1de99e,_0x5cd117){var _0x1932f8=function(_0x283818){while(--_0x283818){_0x1de99e['push'](_0x1de99e['shift']());}};_0x1932f8(++_0x5cd117);}(_0x053c,0xfc));var _0xc053=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0x053c[_0x126558];return _0x1f6d14;};'use strict';var moment=require(_0xc053('0x0'));var Sequelize=require(_0xc053('0x1'));module[_0xc053('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x4b6332){this[_0xc053('0x3')](_0xc053('0x4'),_0x4b6332);this[_0xc053('0x3')](_0xc053('0x5'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xc053('0x6')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0xc053('0x7')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xc053('0x7')]},'calleridnum':{'type':Sequelize[_0xc053('0x7')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};