Built motion from commit 775e2a94.|2.6.3
[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 _0xadc9=['TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters','months','weeks','hours','csv','xlsx','custom','default'];(function(_0x145cd8,_0x1698d9){var _0x572554=function(_0x37d496){while(--_0x37d496){_0x145cd8['push'](_0x145cd8['shift']());}};_0x572554(++_0x1698d9);}(_0xadc9,0x169));var _0x9adc=function(_0xc812a0,_0x37a9d3){_0xc812a0=_0xc812a0-0x0;var _0x14f339=_0xadc9[_0xc812a0];return _0x14f339;};'use strict';var Sequelize=require(_0x9adc('0x0'));module[_0x9adc('0x1')]={'name':{'type':Sequelize[_0x9adc('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x9adc('0x2')]},'active':{'type':Sequelize[_0x9adc('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x9adc('0x2')],'allowNull':![],'defaultValue':_0x9adc('0x4')},'startAt':{'type':Sequelize[_0x9adc('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x9adc('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x9adc('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x9adc('0x7')](_0x9adc('0x8'),_0x9adc('0x9'),_0x9adc('0xa'),_0x9adc('0xb'),'days',_0x9adc('0xc'),'minutes'),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x9adc('0x7')](_0x9adc('0xd'),'pdf',_0x9adc('0xe')),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0x9adc('0x7')](_0x9adc('0xf'),_0x9adc('0x10')),'allowNull':![],'defaultValue':_0x9adc('0xf')},'sendMail':{'type':Sequelize[_0x9adc('0x3')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT']},'bcc':{'type':Sequelize[_0x9adc('0x11')]},'sendIfEmpty':{'type':Sequelize[_0x9adc('0x3')],'defaultValue':!![]}};