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