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