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