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