Built motion from commit 85328c08.|2.5.50
[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 _0x79e2=['exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','quarters','days','csv','pdf','xlsx','custom','default','TEXT','sequelize'];(function(_0x2435b8,_0x3bce09){var _0x2cfea0=function(_0x4d55e0){while(--_0x4d55e0){_0x2435b8['push'](_0x2435b8['shift']());}};_0x2cfea0(++_0x3bce09);}(_0x79e2,0x15f));var _0x279e=function(_0x446789,_0x40aa74){_0x446789=_0x446789-0x0;var _0x534e45=_0x79e2[_0x446789];return _0x534e45;};'use strict';var Sequelize=require(_0x279e('0x0'));module[_0x279e('0x1')]={'name':{'type':Sequelize[_0x279e('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x279e('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x279e('0x4')},'startAt':{'type':Sequelize[_0x279e('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x279e('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x279e('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x279e('0x7')]('years',_0x279e('0x8'),'months','weeks',_0x279e('0x9'),'hours','minutes'),'allowNull':![],'defaultValue':_0x279e('0x9')},'output':{'type':Sequelize['ENUM'](_0x279e('0xa'),_0x279e('0xb'),_0x279e('0xc')),'allowNull':![],'defaultValue':_0x279e('0xa')},'type':{'type':Sequelize[_0x279e('0x7')](_0x279e('0xd'),_0x279e('0xe')),'allowNull':![],'defaultValue':_0x279e('0xd')},'sendMail':{'type':Sequelize[_0x279e('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0x279e('0x2')]},'cc':{'type':Sequelize[_0x279e('0xf')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};