a05c958e59071be2772a9753fc64e903583ae55e
[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 _0xcb0a=['YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime','endtime'];(function(_0x5ca31c,_0x362a4c){var _0x1796d2=function(_0x489673){while(--_0x489673){_0x5ca31c['push'](_0x5ca31c['shift']());}};_0x1796d2(++_0x362a4c);}(_0xcb0a,0x1cf));var _0xacb0=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xcb0a[_0x21a9d9];return _0x46adce;};'use strict';var moment=require(_0xacb0('0x0'));var Sequelize=require(_0xacb0('0x1'));module[_0xacb0('0x2')]={'starttime':{'type':Sequelize[_0xacb0('0x3')],'set':function(_0x3d84ba){this[_0xacb0('0x4')](_0xacb0('0x5'),_0x3d84ba);this[_0xacb0('0x4')](_0xacb0('0x6'),moment()['format'](_0xacb0('0x7')));}},'endtime':{'type':Sequelize[_0xacb0('0x3')]},'membername':{'type':Sequelize[_0xacb0('0x8')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xacb0('0x8')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xacb0('0x9')],'defaultValue':![]}};