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