302029de4236492abfbc87d146f76e8adf0e312a
[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 _0xb0c8=['months','weeks','days','hours','csv','xlsx','custom','default','BOOLEAN','TEXT','sequelize','exports','STRING','DATE','ENUM','years'];(function(_0x1a20ec,_0x27626c){var _0x3a2ec1=function(_0xb45d54){while(--_0xb45d54){_0x1a20ec['push'](_0x1a20ec['shift']());}};_0x3a2ec1(++_0x27626c);}(_0xb0c8,0x1ea));var _0x8b0c=function(_0x4bd788,_0x5b82d1){_0x4bd788=_0x4bd788-0x0;var _0x18e74f=_0xb0c8[_0x4bd788];return _0x18e74f;};'use strict';var Sequelize=require(_0x8b0c('0x0'));module[_0x8b0c('0x1')]={'name':{'type':Sequelize[_0x8b0c('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x8b0c('0x2')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0x8b0c('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0x8b0c('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x8b0c('0x4')](_0x8b0c('0x5'),'quarters',_0x8b0c('0x6'),_0x8b0c('0x7'),_0x8b0c('0x8'),_0x8b0c('0x9'),'minutes'),'allowNull':![],'defaultValue':_0x8b0c('0x8')},'output':{'type':Sequelize[_0x8b0c('0x4')](_0x8b0c('0xa'),'pdf',_0x8b0c('0xb')),'allowNull':![],'defaultValue':_0x8b0c('0xa')},'type':{'type':Sequelize[_0x8b0c('0x4')](_0x8b0c('0xc'),_0x8b0c('0xd')),'allowNull':![],'defaultValue':_0x8b0c('0xc')},'sendMail':{'type':Sequelize[_0x8b0c('0xe')],'defaultValue':![]},'email':{'type':Sequelize[_0x8b0c('0x2')]},'cc':{'type':Sequelize[_0x8b0c('0xf')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};