3a744331137a027b9fc1cf476d1472075ee5f63c
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0x1de5=['STRING','name','ENUM','rrmemory','exports'];(function(_0x22d33b,_0x15491a){var _0x80b3ab=function(_0x4425de){while(--_0x4425de){_0x22d33b['push'](_0x22d33b['shift']());}};_0x80b3ab(++_0x15491a);}(_0x1de5,0x1cb));var _0x51de=function(_0x455c6c,_0x1e78b7){_0x455c6c=_0x455c6c-0x0;var _0x488242=_0x1de5[_0x455c6c];return _0x488242;};'use strict';var Sequelize=require('sequelize');module[_0x51de('0x0')]={'name':{'type':Sequelize[_0x51de('0x1')],'unique':_0x51de('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x51de('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x51de('0x3')](_0x51de('0x4'),'beepall','roundrobin')}};