31b7a8134b161eb42bf92656c4f79253edeeffb4
[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 _0xc125=['roundrobin','sequelize','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x208d03,_0x285bd8){var _0x258d64=function(_0x5f117a){while(--_0x5f117a){_0x208d03['push'](_0x208d03['shift']());}};_0x258d64(++_0x285bd8);}(_0xc125,0x139));var _0x5c12=function(_0x17553a,_0x558406){_0x17553a=_0x17553a-0x0;var _0x53618d=_0xc125[_0x17553a];return _0x53618d;};'use strict';var Sequelize=require(_0x5c12('0x0'));module['exports']={'name':{'type':Sequelize[_0x5c12('0x1')],'unique':_0x5c12('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x5c12('0x1')]},'timeout':{'type':Sequelize[_0x5c12('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x5c12('0x4')](_0x5c12('0x5'),_0x5c12('0x6'),_0x5c12('0x7')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x5c12('0x3')],'defaultValue':0x0}};