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