4e3e5c829a89c5a1ce631104a78c1db7e985911a
[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 _0x549d=['ENUM','rrmemory','beepall','exports','STRING','INTEGER'];(function(_0xa57f9f,_0x337d01){var _0xa98c39=function(_0x171b7a){while(--_0x171b7a){_0xa57f9f['push'](_0xa57f9f['shift']());}};_0xa98c39(++_0x337d01);}(_0x549d,0xd5));var _0xd549=function(_0x230fd4,_0x5313d2){_0x230fd4=_0x230fd4-0x0;var _0x35bda4=_0x549d[_0x230fd4];return _0x35bda4;};'use strict';var Sequelize=require('sequelize');module[_0xd549('0x0')]={'name':{'type':Sequelize[_0xd549('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd549('0x1')]},'timeout':{'type':Sequelize[_0xd549('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xd549('0x3')](_0xd549('0x4'),_0xd549('0x5'),'roundrobin')}};