69cb026c10422e2bd5b3ead7636ec13ee416d8d7
[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 _0x2545=['roundrobin','sequelize','exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x11309d,_0x5975ad){var _0xd63b7b=function(_0x5d2bca){while(--_0x5d2bca){_0x11309d['push'](_0x11309d['shift']());}};_0xd63b7b(++_0x5975ad);}(_0x2545,0x1d5));var _0x5254=function(_0x32382f,_0x1c1528){_0x32382f=_0x32382f-0x0;var _0x191978=_0x2545[_0x32382f];return _0x191978;};'use strict';var Sequelize=require(_0x5254('0x0'));module[_0x5254('0x1')]={'name':{'type':Sequelize[_0x5254('0x2')],'unique':_0x5254('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x5254('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x5254('0x5')](_0x5254('0x6'),_0x5254('0x7'),_0x5254('0x8'))}};