6d1889edc3f49b31bf4179598a714ffe1e176d98
[motion2.git] / server / api / chatQueue / chatQueue.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 _0x9ee9=['STRING','name','INTEGER','ENUM','rrmemory','roundrobin','sequelize','exports'];(function(_0x5e92c2,_0xf93f76){var _0x36576d=function(_0xb4b1e){while(--_0xb4b1e){_0x5e92c2['push'](_0x5e92c2['shift']());}};_0x36576d(++_0xf93f76);}(_0x9ee9,0x76));var _0x99ee=function(_0x5c3d42,_0x87e49a){_0x5c3d42=_0x5c3d42-0x0;var _0x270ca3=_0x9ee9[_0x5c3d42];return _0x270ca3;};'use strict';var Sequelize=require(_0x99ee('0x0'));module[_0x99ee('0x1')]={'name':{'type':Sequelize[_0x99ee('0x2')],'unique':_0x99ee('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x99ee('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x99ee('0x5')](_0x99ee('0x6'),'beepall',_0x99ee('0x7'))}};