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