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