5432a5ea51c063a34fb5dcb5fa7fb37bd4042023
[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 _0xf586=['BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x251b02,_0x38c0f7){var _0x14017c=function(_0x7a976a){while(--_0x7a976a){_0x251b02['push'](_0x251b02['shift']());}};_0x14017c(++_0x38c0f7);}(_0xf586,0x1a3));var _0x6f58=function(_0x34e481,_0x1f0d05){_0x34e481=_0x34e481-0x0;var _0x195d01=_0xf586[_0x34e481];return _0x195d01;};'use strict';var moment=require(_0x6f58('0x0'));var Sequelize=require(_0x6f58('0x1'));module[_0x6f58('0x2')]={'starttime':{'type':Sequelize[_0x6f58('0x3')],'set':function(_0x4b1add){this[_0x6f58('0x4')](_0x6f58('0x5'),_0x4b1add);this[_0x6f58('0x4')](_0x6f58('0x6'),moment()[_0x6f58('0x7')](_0x6f58('0x8')));}},'endtime':{'type':Sequelize[_0x6f58('0x3')]},'membername':{'type':Sequelize[_0x6f58('0x9')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x6f58('0x9')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x6f58('0x9')]},'completed':{'type':Sequelize[_0x6f58('0xa')],'defaultValue':![]}};