Built motion from commit 4ffc18b1.|2.6.31
[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 _0x43e1=['beepall','roundrobin','STRING','name','ENUM','rrmemory'];(function(_0x2fca12,_0x1c4b7d){var _0x3c9844=function(_0x506a56){while(--_0x506a56){_0x2fca12['push'](_0x2fca12['shift']());}};_0x3c9844(++_0x1c4b7d);}(_0x43e1,0x1b8));var _0x143e=function(_0x1385dc,_0x2c7fd7){_0x1385dc=_0x1385dc-0x0;var _0x2f6469=_0x43e1[_0x1385dc];return _0x2f6469;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x143e('0x0')],'unique':_0x143e('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x143e('0x0')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x143e('0x2')](_0x143e('0x3'),_0x143e('0x4'),_0x143e('0x5'))}};