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