061f63146e4dae55a80ba3bd4b042ec262d48b6f
[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 _0x742a=['YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','DATE','setDataValue'];(function(_0x58bae9,_0x542936){var _0xf352b7=function(_0x5d7219){while(--_0x5d7219){_0x58bae9['push'](_0x58bae9['shift']());}};_0xf352b7(++_0x542936);}(_0x742a,0x183));var _0xa742=function(_0x4ea17a,_0x4b9c83){_0x4ea17a=_0x4ea17a-0x0;var _0x58e65f=_0x742a[_0x4ea17a];return _0x58e65f;};'use strict';var moment=require(_0xa742('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0xa742('0x1')],'set':function(_0x6afba0){this['setDataValue']('starttime',_0x6afba0);this[_0xa742('0x2')]('endtime',moment()['format'](_0xa742('0x3')));}},'endtime':{'type':Sequelize[_0xa742('0x1')]},'membername':{'type':Sequelize[_0xa742('0x4')]},'projectname':{'type':Sequelize[_0xa742('0x4')]},'queue':{'type':Sequelize[_0xa742('0x4')]},'uniqueid':{'type':Sequelize[_0xa742('0x4')]},'calleridname':{'type':Sequelize[_0xa742('0x4')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xa742('0x5')],'defaultValue':![]}};