a5252a7f548ea5d5d373bb136242126a23510cc2
[motion2.git] / server / api / faxQueue / faxQueue.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 _0x6db1=['STRING','name','INTEGER','rrmemory','beepall','roundrobin','sequelize','exports'];(function(_0x3f4b21,_0xd29046){var _0x2f8c3d=function(_0x3625b3){while(--_0x3625b3){_0x3f4b21['push'](_0x3f4b21['shift']());}};_0x2f8c3d(++_0xd29046);}(_0x6db1,0x13e));var _0x16db=function(_0x878301,_0x1dd56f){_0x878301=_0x878301-0x0;var _0x17dd64=_0x6db1[_0x878301];return _0x17dd64;};'use strict';var Sequelize=require(_0x16db('0x0'));module[_0x16db('0x1')]={'name':{'type':Sequelize[_0x16db('0x2')],'unique':_0x16db('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x16db('0x2')]},'timeout':{'type':Sequelize[_0x16db('0x4')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x16db('0x5'),_0x16db('0x6'),_0x16db('0x7')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x16db('0x4')],'defaultValue':0x0}};