a67642fcfff39e0d6854ec2fc5ae3de1347d9c64
[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 _0x3d74=['BOOLEAN','moment','sequelize','exports','DATE','starttime','endtime','STRING'];(function(_0x5bbd5e,_0x149754){var _0x9b678c=function(_0x3b2bd1){while(--_0x3b2bd1){_0x5bbd5e['push'](_0x5bbd5e['shift']());}};_0x9b678c(++_0x149754);}(_0x3d74,0x149));var _0x43d7=function(_0x1d0f4f,_0x402963){_0x1d0f4f=_0x1d0f4f-0x0;var _0x47645b=_0x3d74[_0x1d0f4f];return _0x47645b;};'use strict';var moment=require(_0x43d7('0x0'));var Sequelize=require(_0x43d7('0x1'));module[_0x43d7('0x2')]={'starttime':{'type':Sequelize[_0x43d7('0x3')],'set':function(_0x1606e7){this['setDataValue'](_0x43d7('0x4'),_0x1606e7);this['setDataValue'](_0x43d7('0x5'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x43d7('0x3')]},'membername':{'type':Sequelize[_0x43d7('0x6')]},'projectname':{'type':Sequelize[_0x43d7('0x6')]},'queue':{'type':Sequelize[_0x43d7('0x6')]},'uniqueid':{'type':Sequelize[_0x43d7('0x6')]},'calleridname':{'type':Sequelize[_0x43d7('0x6')]},'calleridnum':{'type':Sequelize[_0x43d7('0x6')]},'completed':{'type':Sequelize[_0x43d7('0x7')],'defaultValue':![]}};