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