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