fa6b97634dd75ce7b50cc71edc660f1cff090b3f
[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 _0x214c=['STRING','BOOLEAN','exports','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x2f4db3,_0x6b109d){var _0x39ce3e=function(_0x4715d3){while(--_0x4715d3){_0x2f4db3['push'](_0x2f4db3['shift']());}};_0x39ce3e(++_0x6b109d);}(_0x214c,0x13a));var _0xc214=function(_0x3dddd8,_0x4a2afc){_0x3dddd8=_0x3dddd8-0x0;var _0xda5a01=_0x214c[_0x3dddd8];return _0xda5a01;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0xc214('0x0')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x34389c){this['setDataValue']('starttime',_0x34389c);this[_0xc214('0x1')](_0xc214('0x2'),moment()[_0xc214('0x3')](_0xc214('0x4')));}},'endtime':{'type':Sequelize[_0xc214('0x5')]},'membername':{'type':Sequelize[_0xc214('0x6')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xc214('0x6')]},'calleridname':{'type':Sequelize[_0xc214('0x6')]},'calleridnum':{'type':Sequelize[_0xc214('0x6')]},'completed':{'type':Sequelize[_0xc214('0x7')],'defaultValue':![]}};