Built motion from commit 00bf23f6.|2.6.16
[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 _0x8a84=['STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','quarters','months','weeks','hours','minutes','days','csv','xlsx','custom','default','TEXT','sequelize'];(function(_0x24bf2a,_0x28bce8){var _0x1f140d=function(_0x2cff3e){while(--_0x2cff3e){_0x24bf2a['push'](_0x24bf2a['shift']());}};_0x1f140d(++_0x28bce8);}(_0x8a84,0xb3));var _0x48a8=function(_0x1cd674,_0x8d3638){_0x1cd674=_0x1cd674-0x0;var _0x27928f=_0x8a84[_0x1cd674];return _0x27928f;};'use strict';var Sequelize=require(_0x48a8('0x0'));module['exports']={'name':{'type':Sequelize[_0x48a8('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x48a8('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x48a8('0x1')],'allowNull':![],'defaultValue':_0x48a8('0x3')},'startAt':{'type':Sequelize[_0x48a8('0x4')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x48a8('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x48a8('0x6')]('years',_0x48a8('0x7'),_0x48a8('0x8'),_0x48a8('0x9'),'days',_0x48a8('0xa'),_0x48a8('0xb')),'allowNull':![],'defaultValue':_0x48a8('0xc')},'output':{'type':Sequelize[_0x48a8('0x6')](_0x48a8('0xd'),'pdf',_0x48a8('0xe')),'allowNull':![],'defaultValue':_0x48a8('0xd')},'type':{'type':Sequelize[_0x48a8('0x6')](_0x48a8('0xf'),_0x48a8('0x10')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0x48a8('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x48a8('0x11')]},'bcc':{'type':Sequelize[_0x48a8('0x11')]},'sendIfEmpty':{'type':Sequelize[_0x48a8('0x2')],'defaultValue':!![]}};