Built motion from commit (unavailable).|2.5.4
[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 _0x818b=['sequelize','exports','DATE','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment'];(function(_0x520bcc,_0x54aa59){var _0x55e792=function(_0x2d49a2){while(--_0x2d49a2){_0x520bcc['push'](_0x520bcc['shift']());}};_0x55e792(++_0x54aa59);}(_0x818b,0x104));var _0xb818=function(_0x1a9303,_0x5993ec){_0x1a9303=_0x1a9303-0x0;var _0x4c5242=_0x818b[_0x1a9303];return _0x4c5242;};'use strict';var moment=require(_0xb818('0x0'));var Sequelize=require(_0xb818('0x1'));module[_0xb818('0x2')]={'starttime':{'type':Sequelize[_0xb818('0x3')],'set':function(_0x1667bf){this['setDataValue']('starttime',_0x1667bf);this['setDataValue'](_0xb818('0x4'),moment()[_0xb818('0x5')](_0xb818('0x6')));}},'endtime':{'type':Sequelize[_0xb818('0x3')]},'membername':{'type':Sequelize[_0xb818('0x7')]},'projectname':{'type':Sequelize[_0xb818('0x7')]},'queue':{'type':Sequelize[_0xb818('0x7')]},'uniqueid':{'type':Sequelize[_0xb818('0x7')]},'calleridname':{'type':Sequelize[_0xb818('0x7')]},'calleridnum':{'type':Sequelize[_0xb818('0x7')]},'completed':{'type':Sequelize[_0xb818('0x8')],'defaultValue':![]}};