Built motion from commit (unavailable).|2.5.29
[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 _0xa0a3=['STRING','moment','exports','setDataValue','starttime','endtime','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x1580b7,_0x23938e){var _0x17a466=function(_0x447d4e){while(--_0x447d4e){_0x1580b7['push'](_0x1580b7['shift']());}};_0x17a466(++_0x23938e);}(_0xa0a3,0x166));var _0x3a0a=function(_0x2c7d73,_0x17c4e9){_0x2c7d73=_0x2c7d73-0x0;var _0x2e8d18=_0xa0a3[_0x2c7d73];return _0x2e8d18;};'use strict';var moment=require(_0x3a0a('0x0'));var Sequelize=require('sequelize');module[_0x3a0a('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x20e938){this[_0x3a0a('0x2')](_0x3a0a('0x3'),_0x20e938);this['setDataValue'](_0x3a0a('0x4'),moment()['format'](_0x3a0a('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x3a0a('0x6')]},'projectname':{'type':Sequelize[_0x3a0a('0x6')]},'queue':{'type':Sequelize[_0x3a0a('0x6')]},'uniqueid':{'type':Sequelize[_0x3a0a('0x6')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x3a0a('0x6')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};