Built motion from commit da617fac.|2.6.6
[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 _0x0a39=['starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','exports','DATE','setDataValue'];(function(_0x3082d7,_0x4848f1){var _0x2cfc57=function(_0x5a4c6d){while(--_0x5a4c6d){_0x3082d7['push'](_0x3082d7['shift']());}};_0x2cfc57(++_0x4848f1);}(_0x0a39,0x176));var _0x90a3=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x0a39[_0xfae23b];return _0x200640;};'use strict';var moment=require(_0x90a3('0x0'));var Sequelize=require('sequelize');module[_0x90a3('0x1')]={'starttime':{'type':Sequelize[_0x90a3('0x2')],'set':function(_0x49f625){this[_0x90a3('0x3')](_0x90a3('0x4'),_0x49f625);this[_0x90a3('0x3')](_0x90a3('0x5'),moment()[_0x90a3('0x6')](_0x90a3('0x7')));}},'endtime':{'type':Sequelize[_0x90a3('0x2')]},'membername':{'type':Sequelize[_0x90a3('0x8')]},'projectname':{'type':Sequelize[_0x90a3('0x8')]},'queue':{'type':Sequelize[_0x90a3('0x8')]},'uniqueid':{'type':Sequelize[_0x90a3('0x8')]},'calleridname':{'type':Sequelize[_0x90a3('0x8')]},'calleridnum':{'type':Sequelize[_0x90a3('0x8')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};