e85c5a504ba4e2d893688b5ea253dff25ef82e9c
[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 _0x08d2=['beepall','roundrobin','exports','STRING','name','ENUM','rrmemory'];(function(_0x4693c8,_0x3334bd){var _0x53f7d1=function(_0x570565){while(--_0x570565){_0x4693c8['push'](_0x4693c8['shift']());}};_0x53f7d1(++_0x3334bd);}(_0x08d2,0x1d0));var _0x208d=function(_0xfb760d,_0x522b2a){_0xfb760d=_0xfb760d-0x0;var _0x3ece90=_0x08d2[_0xfb760d];return _0x3ece90;};'use strict';var Sequelize=require('sequelize');module[_0x208d('0x0')]={'name':{'type':Sequelize[_0x208d('0x1')],'unique':_0x208d('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x208d('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x208d('0x3')](_0x208d('0x4'),_0x208d('0x5'),_0x208d('0x6'))}};