Built motion from commit (unavailable).|2.4.18
[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 _0x83c0=['sequelize','exports','DATE','setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x83c0,0x135));var _0x083c=function(_0x35e07b,_0x42db6e){_0x35e07b=_0x35e07b-0x0;var _0x32b34e=_0x83c0[_0x35e07b];return _0x32b34e;};'use strict';var moment=require(_0x083c('0x0'));var Sequelize=require(_0x083c('0x1'));module[_0x083c('0x2')]={'starttime':{'type':Sequelize[_0x083c('0x3')],'set':function(_0x2c7719){this[_0x083c('0x4')](_0x083c('0x5'),_0x2c7719);this[_0x083c('0x4')]('endtime',moment()[_0x083c('0x6')](_0x083c('0x7')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x083c('0x8')]},'projectname':{'type':Sequelize[_0x083c('0x8')]},'queue':{'type':Sequelize[_0x083c('0x8')]},'uniqueid':{'type':Sequelize[_0x083c('0x8')]},'calleridname':{'type':Sequelize[_0x083c('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x083c('0x9')],'defaultValue':![]}};