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