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