Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / schedule / schedule.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 _0x1148=['STRING','BOOLEAN','DATE','ENUM','years','quarters','months','weeks','days','hours','minutes','csv','pdf','xlsx','custom','default','TEXT','exports'];(function(_0xfa3fe6,_0x1dc469){var _0x16a55e=function(_0xcd7029){while(--_0xcd7029){_0xfa3fe6['push'](_0xfa3fe6['shift']());}};_0x16a55e(++_0x1dc469);}(_0x1148,0x6b));var _0x8114=function(_0x23cb53,_0x1266ae){_0x23cb53=_0x23cb53-0x0;var _0x40d706=_0x1148[_0x23cb53];return _0x40d706;};'use strict';var Sequelize=require('sequelize');module[_0x8114('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x8114('0x1')]},'active':{'type':Sequelize[_0x8114('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x8114('0x1')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0x8114('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0x8114('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x8114('0x4')](_0x8114('0x5'),_0x8114('0x6'),_0x8114('0x7'),_0x8114('0x8'),_0x8114('0x9'),_0x8114('0xa'),_0x8114('0xb')),'allowNull':![],'defaultValue':_0x8114('0x9')},'output':{'type':Sequelize[_0x8114('0x4')](_0x8114('0xc'),_0x8114('0xd'),_0x8114('0xe')),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0x8114('0x4')](_0x8114('0xf'),_0x8114('0x10')),'allowNull':![],'defaultValue':_0x8114('0xf')},'sendMail':{'type':Sequelize[_0x8114('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0x8114('0x1')]},'cc':{'type':Sequelize[_0x8114('0x11')]},'bcc':{'type':Sequelize[_0x8114('0x11')]},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};