Built motion from commit b0a9a629.|2.6.33
[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 _0x1cf1=['roundrobin','STRING','INTEGER','ENUM'];(function(_0x4e2f8e,_0x33b2e8){var _0x48571a=function(_0x1ec704){while(--_0x1ec704){_0x4e2f8e['push'](_0x4e2f8e['shift']());}};_0x48571a(++_0x33b2e8);}(_0x1cf1,0x145));var _0x11cf=function(_0x1efa5c,_0x574693){_0x1efa5c=_0x1efa5c-0x0;var _0x1b397e=_0x1cf1[_0x1efa5c];return _0x1b397e;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x11cf('0x0')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x11cf('0x0')]},'timeout':{'type':Sequelize[_0x11cf('0x1')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x11cf('0x2')]('rrmemory','beepall',_0x11cf('0x3'))}};