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