6c74126b0e941f0c0b7011e86b459b606d545cdd
[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 _0xd0e8=['BOOLEAN','moment','DATE','setDataValue','endtime','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x48b4f9,_0xbbe897){var _0x30dda9=function(_0xddc3b6){while(--_0xddc3b6){_0x48b4f9['push'](_0x48b4f9['shift']());}};_0x30dda9(++_0xbbe897);}(_0xd0e8,0xf6));var _0x8d0e=function(_0x5f7eca,_0xe789f2){_0x5f7eca=_0x5f7eca-0x0;var _0x3836e6=_0xd0e8[_0x5f7eca];return _0x3836e6;};'use strict';var moment=require(_0x8d0e('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0x8d0e('0x1')],'set':function(_0x1deab6){this[_0x8d0e('0x2')]('starttime',_0x1deab6);this[_0x8d0e('0x2')](_0x8d0e('0x3'),moment()['format'](_0x8d0e('0x4')));}},'endtime':{'type':Sequelize[_0x8d0e('0x1')]},'membername':{'type':Sequelize[_0x8d0e('0x5')]},'projectname':{'type':Sequelize[_0x8d0e('0x5')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x8d0e('0x5')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x8d0e('0x5')]},'completed':{'type':Sequelize[_0x8d0e('0x6')],'defaultValue':![]}};