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