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