7d716b0eea468b8e06b6bbc4b6d271935b31cd12
[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 _0x7019=['starttime','endtime','format','STRING','BOOLEAN','moment','exports','DATE','setDataValue'];(function(_0x54d4a8,_0x585a59){var _0x3b321b=function(_0x245c6a){while(--_0x245c6a){_0x54d4a8['push'](_0x54d4a8['shift']());}};_0x3b321b(++_0x585a59);}(_0x7019,0x16d));var _0x9701=function(_0x469119,_0x32d3d7){_0x469119=_0x469119-0x0;var _0x594274=_0x7019[_0x469119];return _0x594274;};'use strict';var moment=require(_0x9701('0x0'));var Sequelize=require('sequelize');module[_0x9701('0x1')]={'starttime':{'type':Sequelize[_0x9701('0x2')],'set':function(_0x5476c5){this[_0x9701('0x3')](_0x9701('0x4'),_0x5476c5);this[_0x9701('0x3')](_0x9701('0x5'),moment()[_0x9701('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x9701('0x7')]},'projectname':{'type':Sequelize[_0x9701('0x7')]},'queue':{'type':Sequelize[_0x9701('0x7')]},'uniqueid':{'type':Sequelize[_0x9701('0x7')]},'calleridname':{'type':Sequelize[_0x9701('0x7')]},'calleridnum':{'type':Sequelize[_0x9701('0x7')]},'completed':{'type':Sequelize[_0x9701('0x8')],'defaultValue':![]}};