Built motion from commit 26d08302.|2.6.31
[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 _0x70c6=['weeks','days','hours','xlsx','csv','custom','default','BOOLEAN','TEXT','sequelize','exports','STRING','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','months'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0x70c6,0x129));var _0x670c=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x70c6[_0x4a9fb1];return _0x348672;};'use strict';var Sequelize=require(_0x670c('0x0'));module[_0x670c('0x1')]={'name':{'type':Sequelize[_0x670c('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x670c('0x2')]},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x670c('0x2')],'allowNull':![],'defaultValue':_0x670c('0x3')},'startAt':{'type':Sequelize[_0x670c('0x4')],'allowNull':![]},'endAt':{'type':Sequelize[_0x670c('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x670c('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x670c('0x6')](_0x670c('0x7'),'quarters',_0x670c('0x8'),_0x670c('0x9'),_0x670c('0xa'),_0x670c('0xb'),'minutes'),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x670c('0x6')]('csv','pdf',_0x670c('0xc')),'allowNull':![],'defaultValue':_0x670c('0xd')},'type':{'type':Sequelize[_0x670c('0x6')](_0x670c('0xe'),_0x670c('0xf')),'allowNull':![],'defaultValue':_0x670c('0xe')},'sendMail':{'type':Sequelize[_0x670c('0x10')],'defaultValue':![]},'email':{'type':Sequelize[_0x670c('0x2')]},'cc':{'type':Sequelize[_0x670c('0x11')]},'bcc':{'type':Sequelize[_0x670c('0x11')]},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};