ba009e7f29d0f8626fb69884d9bb577c715ee7c2
[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 _0x44d6=['DATE','setDataValue','STRING','BOOLEAN','moment'];(function(_0x52aa34,_0x855f4e){var _0x2e0c5d=function(_0xe62407){while(--_0xe62407){_0x52aa34['push'](_0x52aa34['shift']());}};_0x2e0c5d(++_0x855f4e);}(_0x44d6,0xb8));var _0x644d=function(_0x229f58,_0x2fc35a){_0x229f58=_0x229f58-0x0;var _0xb7e54a=_0x44d6[_0x229f58];return _0xb7e54a;};'use strict';var moment=require(_0x644d('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0x644d('0x1')],'set':function(_0x4f6455){this[_0x644d('0x2')]('starttime',_0x4f6455);this['setDataValue']('endtime',moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x644d('0x1')]},'membername':{'type':Sequelize[_0x644d('0x3')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x644d('0x3')]},'uniqueid':{'type':Sequelize[_0x644d('0x3')]},'calleridname':{'type':Sequelize[_0x644d('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x644d('0x4')],'defaultValue':![]}};