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