2ca6b619d0960272656df34d0b85564e0efe2056
[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 _0xc590=['name','INTEGER','rrmemory','beepall','STRING'];(function(_0x2b7c9e,_0x195bf2){var _0x57f1e5=function(_0x5c415e){while(--_0x5c415e){_0x2b7c9e['push'](_0x2b7c9e['shift']());}};_0x57f1e5(++_0x195bf2);}(_0xc590,0xb3));var _0x0c59=function(_0x736c06,_0x9f97c0){_0x736c06=_0x736c06-0x0;var _0xf61589=_0xc590[_0x736c06];return _0xf61589;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x0c59('0x0')],'unique':_0x0c59('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x0c59('0x0')]},'timeout':{'type':Sequelize[_0x0c59('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x0c59('0x3'),_0x0c59('0x4'),'roundrobin')}};