d5f0468ba005dc4fb63d8b2853377508ce76a1c5
[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 _0xf173=['rrmemory','beepall','sequelize','exports','name','INTEGER'];(function(_0x2e9df2,_0x1a64f5){var _0x160bed=function(_0x263b41){while(--_0x263b41){_0x2e9df2['push'](_0x2e9df2['shift']());}};_0x160bed(++_0x1a64f5);}(_0xf173,0xe6));var _0x3f17=function(_0xbcf220,_0x59a99f){_0xbcf220=_0xbcf220-0x0;var _0x3b0763=_0xf173[_0xbcf220];return _0x3b0763;};'use strict';var Sequelize=require(_0x3f17('0x0'));module[_0x3f17('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x3f17('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x3f17('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x3f17('0x4'),_0x3f17('0x5'),'roundrobin')}};