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