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