0fc65dc369178bb7620c61c8b230ca910a5319ee
[motion2.git] / server / api / analyticExtractedReport / analyticExtractedReport.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 _0x6f6e=['DATE','scheduled','INTEGER','UNSIGNED','sequelize','STRING','csv'];(function(_0xafa717,_0x597a44){var _0x2614b6=function(_0x289f64){while(--_0x289f64){_0xafa717['push'](_0xafa717['shift']());}};_0x2614b6(++_0x597a44);}(_0x6f6e,0x115));var _0xe6f6=function(_0x2aa886,_0x16b6a4){_0x2aa886=_0x2aa886-0x0;var _0xd6ff3a=_0x6f6e[_0x2aa886];return _0xd6ff3a;};'use strict';var Sequelize=require(_0xe6f6('0x0'));var moment=require('moment');module['exports']={'name':{'type':Sequelize[_0xe6f6('0x1')],'allowNull':![]},'basename':{'type':Sequelize['STRING'],'allowNull':![]},'output':{'type':Sequelize['ENUM'](_0xe6f6('0x2'),'pdf','xlsx'),'allowNull':![],'defaultValue':'csv'},'savename':{'type':Sequelize['STRING'],'allowNull':![]},'startDate':{'type':Sequelize[_0xe6f6('0x3')]},'endDate':{'type':Sequelize[_0xe6f6('0x3')]},'status':{'type':Sequelize[_0xe6f6('0x1')],'defaultValue':'Loading'},'type':{'type':Sequelize['ENUM']('manual',_0xe6f6('0x4')),'allowNull':![],'defaultValue':'manual'},'reportId':{'type':Sequelize[_0xe6f6('0x5')](0xb)[_0xe6f6('0x6')]},'reportType':{'type':Sequelize['STRING']}};