dc1208f46222827047e6f0bfc37477596c172b1c
[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 _0x8a2a=['exports','STRING','name','INTEGER','rrmemory','beepall','roundrobin'];(function(_0x57ea0c,_0x35f3ad){var _0x5c5461=function(_0x4f249c){while(--_0x4f249c){_0x57ea0c['push'](_0x57ea0c['shift']());}};_0x5c5461(++_0x35f3ad);}(_0x8a2a,0x11f));var _0xa8a2=function(_0x4226d6,_0x3864ca){_0x4226d6=_0x4226d6-0x0;var _0x19655b=_0x8a2a[_0x4226d6];return _0x19655b;};'use strict';var Sequelize=require('sequelize');module[_0xa8a2('0x0')]={'name':{'type':Sequelize[_0xa8a2('0x1')],'unique':_0xa8a2('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xa8a2('0x1')]},'timeout':{'type':Sequelize[_0xa8a2('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xa8a2('0x4'),_0xa8a2('0x5'),_0xa8a2('0x6'))}};