Built motion from commit 9d0783e6.|2.6.13
[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 _0x6b30=['sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','months','weeks','days','hours','minutes','csv','xlsx','custom','TEXT'];(function(_0x27b0f9,_0xa17083){var _0x373f6f=function(_0x548abf){while(--_0x548abf){_0x27b0f9['push'](_0x27b0f9['shift']());}};_0x373f6f(++_0xa17083);}(_0x6b30,0xa2));var _0x06b3=function(_0x212dad,_0xb862ef){_0x212dad=_0x212dad-0x0;var _0x4fea3f=_0x6b30[_0x212dad];return _0x4fea3f;};'use strict';var Sequelize=require(_0x06b3('0x0'));module[_0x06b3('0x1')]={'name':{'type':Sequelize[_0x06b3('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x06b3('0x2')]},'active':{'type':Sequelize[_0x06b3('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x06b3('0x4')},'startAt':{'type':Sequelize[_0x06b3('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x06b3('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x06b3('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x06b3('0x7')](_0x06b3('0x8'),'quarters',_0x06b3('0x9'),_0x06b3('0xa'),_0x06b3('0xb'),_0x06b3('0xc'),_0x06b3('0xd')),'allowNull':![],'defaultValue':_0x06b3('0xb')},'output':{'type':Sequelize[_0x06b3('0x7')](_0x06b3('0xe'),'pdf',_0x06b3('0xf')),'allowNull':![],'defaultValue':_0x06b3('0xe')},'type':{'type':Sequelize['ENUM'](_0x06b3('0x10'),'default'),'allowNull':![],'defaultValue':_0x06b3('0x10')},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x06b3('0x2')]},'cc':{'type':Sequelize['TEXT']},'bcc':{'type':Sequelize[_0x06b3('0x11')]},'sendIfEmpty':{'type':Sequelize[_0x06b3('0x3')],'defaultValue':!![]}};