104e5b0a5a91988c907b63e9bad476aeb18a4813
[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 _0xca4a=['beepall','exports','STRING','name','INTEGER','ENUM','rrmemory'];(function(_0x56c066,_0x30cbb1){var _0x2209b9=function(_0x417757){while(--_0x417757){_0x56c066['push'](_0x56c066['shift']());}};_0x2209b9(++_0x30cbb1);}(_0xca4a,0x1a5));var _0xaca4=function(_0x2195f5,_0x151acd){_0x2195f5=_0x2195f5-0x0;var _0x1d8c0c=_0xca4a[_0x2195f5];return _0x1d8c0c;};'use strict';var Sequelize=require('sequelize');module[_0xaca4('0x0')]={'name':{'type':Sequelize[_0xaca4('0x1')],'unique':_0xaca4('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xaca4('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xaca4('0x4')](_0xaca4('0x5'),_0xaca4('0x6'),'roundrobin')}};