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