17e8ce936b3c923c568fd3fece165aad8e146f07
[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 _0xbb35=['DATE','STRING','BOOLEAN','moment','sequelize','exports','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0xbb35,0xe9));var _0x5bb3=function(_0x12322a,_0x31eaea){_0x12322a=_0x12322a-0x0;var _0x230976=_0xbb35[_0x12322a];return _0x230976;};'use strict';var moment=require(_0x5bb3('0x0'));var Sequelize=require(_0x5bb3('0x1'));module[_0x5bb3('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x1d7eaa){this[_0x5bb3('0x3')]('starttime',_0x1d7eaa);this[_0x5bb3('0x3')](_0x5bb3('0x4'),moment()[_0x5bb3('0x5')](_0x5bb3('0x6')));}},'endtime':{'type':Sequelize[_0x5bb3('0x7')]},'membername':{'type':Sequelize[_0x5bb3('0x8')]},'projectname':{'type':Sequelize[_0x5bb3('0x8')]},'queue':{'type':Sequelize[_0x5bb3('0x8')]},'uniqueid':{'type':Sequelize[_0x5bb3('0x8')]},'calleridname':{'type':Sequelize[_0x5bb3('0x8')]},'calleridnum':{'type':Sequelize[_0x5bb3('0x8')]},'completed':{'type':Sequelize[_0x5bb3('0x9')],'defaultValue':![]}};