0ec9e430350b7026e551fb450439061253630e83
[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 _0x66c7=['minutes','pdf','xlsx','csv','custom','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','years','quarters','months','weeks','days','hours'];(function(_0x12fb76,_0x567022){var _0x5d4458=function(_0x184ef9){while(--_0x184ef9){_0x12fb76['push'](_0x12fb76['shift']());}};_0x5d4458(++_0x567022);}(_0x66c7,0x15c));var _0x766c=function(_0x398828,_0x52119b){_0x398828=_0x398828-0x0;var _0x399ce8=_0x66c7[_0x398828];return _0x399ce8;};'use strict';var Sequelize=require(_0x766c('0x0'));module[_0x766c('0x1')]={'name':{'type':Sequelize[_0x766c('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x766c('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x766c('0x2')],'allowNull':![],'defaultValue':_0x766c('0x4')},'startAt':{'type':Sequelize[_0x766c('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x766c('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x766c('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM'](_0x766c('0x7'),_0x766c('0x8'),_0x766c('0x9'),_0x766c('0xa'),_0x766c('0xb'),_0x766c('0xc'),_0x766c('0xd')),'allowNull':![],'defaultValue':_0x766c('0xb')},'output':{'type':Sequelize['ENUM']('csv',_0x766c('0xe'),_0x766c('0xf')),'allowNull':![],'defaultValue':_0x766c('0x10')},'type':{'type':Sequelize['ENUM'](_0x766c('0x11'),'default'),'allowNull':![],'defaultValue':_0x766c('0x11')},'sendMail':{'type':Sequelize[_0x766c('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0x766c('0x2')]},'cc':{'type':Sequelize[_0x766c('0x12')]},'bcc':{'type':Sequelize[_0x766c('0x12')]},'sendIfEmpty':{'type':Sequelize[_0x766c('0x3')],'defaultValue':!![]}};