Built motion from commit (unavailable).|2.4.18
[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 _0xeff8=['sequelize','exports','STRING','BOOLEAN','DATE','INTEGER','ENUM','quarters','months','weeks','days','minutes','csv','custom','TEXT'];(function(_0x265003,_0xf0f023){var _0x33c743=function(_0x326a5d){while(--_0x326a5d){_0x265003['push'](_0x265003['shift']());}};_0x33c743(++_0xf0f023);}(_0xeff8,0x186));var _0x8eff=function(_0x291f8b,_0x3b5591){_0x291f8b=_0x291f8b-0x0;var _0x275171=_0xeff8[_0x291f8b];return _0x275171;};'use strict';var Sequelize=require(_0x8eff('0x0'));module[_0x8eff('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x8eff('0x2')]},'active':{'type':Sequelize[_0x8eff('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x8eff('0x2')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0x8eff('0x4')],'allowNull':![]},'endAt':{'type':Sequelize[_0x8eff('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x8eff('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x8eff('0x6')]('years',_0x8eff('0x7'),_0x8eff('0x8'),_0x8eff('0x9'),_0x8eff('0xa'),'hours',_0x8eff('0xb')),'allowNull':![],'defaultValue':_0x8eff('0xa')},'output':{'type':Sequelize[_0x8eff('0x6')](_0x8eff('0xc'),'pdf','xlsx'),'allowNull':![],'defaultValue':_0x8eff('0xc')},'type':{'type':Sequelize[_0x8eff('0x6')](_0x8eff('0xd'),'default'),'allowNull':![],'defaultValue':_0x8eff('0xd')},'sendMail':{'type':Sequelize[_0x8eff('0x3')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x8eff('0xe')]},'bcc':{'type':Sequelize[_0x8eff('0xe')]},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};