Built motion from commit (unavailable).|2.5.30
[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 _0x9ab0=['days','hours','minutes','ENUM','csv','xlsx','custom','default','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','quarters','months','weeks'];(function(_0x57b248,_0x2d5053){var _0x3a55f5=function(_0x145403){while(--_0x145403){_0x57b248['push'](_0x57b248['shift']());}};_0x3a55f5(++_0x2d5053);}(_0x9ab0,0x195));var _0x09ab=function(_0x294d71,_0x3493f5){_0x294d71=_0x294d71-0x0;var _0x392b82=_0x9ab0[_0x294d71];return _0x392b82;};'use strict';var Sequelize=require(_0x09ab('0x0'));module[_0x09ab('0x1')]={'name':{'type':Sequelize[_0x09ab('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x09ab('0x2')]},'active':{'type':Sequelize[_0x09ab('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x09ab('0x2')],'allowNull':![],'defaultValue':_0x09ab('0x4')},'startAt':{'type':Sequelize[_0x09ab('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x09ab('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM']('years',_0x09ab('0x6'),_0x09ab('0x7'),_0x09ab('0x8'),_0x09ab('0x9'),_0x09ab('0xa'),_0x09ab('0xb')),'allowNull':![],'defaultValue':_0x09ab('0x9')},'output':{'type':Sequelize[_0x09ab('0xc')](_0x09ab('0xd'),'pdf',_0x09ab('0xe')),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0x09ab('0xc')](_0x09ab('0xf'),_0x09ab('0x10')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x09ab('0x2')]},'cc':{'type':Sequelize[_0x09ab('0x11')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};