0ea450e5d24c33e46341266affd65f112e8124f3
[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 _0x8085=['pdf','xlsx','custom','default','TEXT','sequelize','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','INTEGER','ENUM','quarters','months','weeks','days','hours','minutes','csv'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x8085,0x71));var _0x5808=function(_0x9c2427,_0x17c865){_0x9c2427=_0x9c2427-0x0;var _0x51984f=_0x8085[_0x9c2427];return _0x51984f;};'use strict';var Sequelize=require(_0x5808('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x5808('0x1')]},'active':{'type':Sequelize[_0x5808('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x5808('0x1')],'allowNull':![],'defaultValue':_0x5808('0x3')},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x5808('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x5808('0x5')]('years',_0x5808('0x6'),_0x5808('0x7'),_0x5808('0x8'),_0x5808('0x9'),_0x5808('0xa'),_0x5808('0xb')),'allowNull':![],'defaultValue':_0x5808('0x9')},'output':{'type':Sequelize[_0x5808('0x5')](_0x5808('0xc'),_0x5808('0xd'),_0x5808('0xe')),'allowNull':![],'defaultValue':_0x5808('0xc')},'type':{'type':Sequelize[_0x5808('0x5')](_0x5808('0xf'),_0x5808('0x10')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x5808('0x1')]},'cc':{'type':Sequelize[_0x5808('0x11')]},'bcc':{'type':Sequelize[_0x5808('0x11')]},'sendIfEmpty':{'type':Sequelize[_0x5808('0x2')],'defaultValue':!![]}};