f0f4835a39e4340031a04a8cb6e27ca18c571d0b
[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 _0xf12f=['moment','sequelize','exports','DATE','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0x5bdc0f,_0xd2ca59){var _0x318e07=function(_0x6a74e3){while(--_0x6a74e3){_0x5bdc0f['push'](_0x5bdc0f['shift']());}};_0x318e07(++_0xd2ca59);}(_0xf12f,0x104));var _0xff12=function(_0x121214,_0x2b54fb){_0x121214=_0x121214-0x0;var _0x5a6c70=_0xf12f[_0x121214];return _0x5a6c70;};'use strict';var moment=require(_0xff12('0x0'));var Sequelize=require(_0xff12('0x1'));module[_0xff12('0x2')]={'starttime':{'type':Sequelize[_0xff12('0x3')],'set':function(_0x5c9b85){this[_0xff12('0x4')]('starttime',_0x5c9b85);this[_0xff12('0x4')](_0xff12('0x5'),moment()[_0xff12('0x6')](_0xff12('0x7')));}},'endtime':{'type':Sequelize[_0xff12('0x3')]},'membername':{'type':Sequelize[_0xff12('0x8')]},'projectname':{'type':Sequelize[_0xff12('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xff12('0x8')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xff12('0x8')]},'completed':{'type':Sequelize[_0xff12('0x9')],'defaultValue':![]}};