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