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