Built motion from commit 753c950e.|2.5.42
[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 _0x48be=['custom','TEXT','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','months','weeks','days','hours','csv','pdf','xlsx'];(function(_0x1979eb,_0x5b374e){var _0x136002=function(_0x22f9a0){while(--_0x22f9a0){_0x1979eb['push'](_0x1979eb['shift']());}};_0x136002(++_0x5b374e);}(_0x48be,0xd2));var _0xe48b=function(_0x2944b2,_0x4eadb6){_0x2944b2=_0x2944b2-0x0;var _0x3ccbf7=_0x48be[_0x2944b2];return _0x3ccbf7;};'use strict';var Sequelize=require('sequelize');module[_0xe48b('0x0')]={'name':{'type':Sequelize[_0xe48b('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xe48b('0x1')]},'active':{'type':Sequelize[_0xe48b('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xe48b('0x1')],'allowNull':![],'defaultValue':_0xe48b('0x3')},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize[_0xe48b('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xe48b('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xe48b('0x6')]('years','quarters',_0xe48b('0x7'),_0xe48b('0x8'),_0xe48b('0x9'),_0xe48b('0xa'),'minutes'),'allowNull':![],'defaultValue':_0xe48b('0x9')},'output':{'type':Sequelize['ENUM'](_0xe48b('0xb'),_0xe48b('0xc'),_0xe48b('0xd')),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize['ENUM'](_0xe48b('0xe'),'default'),'allowNull':![],'defaultValue':_0xe48b('0xe')},'sendMail':{'type':Sequelize[_0xe48b('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT']},'bcc':{'type':Sequelize[_0xe48b('0xf')]},'sendIfEmpty':{'type':Sequelize[_0xe48b('0x2')],'defaultValue':!![]}};