Built motion from commit ab870f9e.|2.5.44
[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 _0x739c=['years','quarters','hours','minutes','days','pdf','custom','default','TEXT','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM'];(function(_0x515032,_0x4be962){var _0x1f2cd0=function(_0x51e157){while(--_0x51e157){_0x515032['push'](_0x515032['shift']());}};_0x1f2cd0(++_0x4be962);}(_0x739c,0x1a9));var _0xc739=function(_0x1e7797,_0x310ac6){_0x1e7797=_0x1e7797-0x0;var _0x51eaf7=_0x739c[_0x1e7797];return _0x51eaf7;};'use strict';var Sequelize=require('sequelize');module[_0xc739('0x0')]={'name':{'type':Sequelize[_0xc739('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xc739('0x1')]},'active':{'type':Sequelize[_0xc739('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xc739('0x1')],'allowNull':![],'defaultValue':_0xc739('0x3')},'startAt':{'type':Sequelize[_0xc739('0x4')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xc739('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xc739('0x6')](_0xc739('0x7'),_0xc739('0x8'),'months','weeks','days',_0xc739('0x9'),_0xc739('0xa')),'allowNull':![],'defaultValue':_0xc739('0xb')},'output':{'type':Sequelize[_0xc739('0x6')]('csv',_0xc739('0xc'),'xlsx'),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0xc739('0x6')](_0xc739('0xd'),_0xc739('0xe')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0xc739('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0xc739('0x1')]},'cc':{'type':Sequelize[_0xc739('0xf')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0xc739('0x2')],'defaultValue':!![]}};