7966310125e60c3f1dcadf118c808204fdd18974
[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 _0x81e5=['name','ENUM','rrmemory','beepall','roundrobin','STRING'];(function(_0x4bdddd,_0x1a8526){var _0x35f76c=function(_0x389f2a){while(--_0x389f2a){_0x4bdddd['push'](_0x4bdddd['shift']());}};_0x35f76c(++_0x1a8526);}(_0x81e5,0x1f1));var _0x581e=function(_0x4cda62,_0x2e4792){_0x4cda62=_0x4cda62-0x0;var _0x26a668=_0x81e5[_0x4cda62];return _0x26a668;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x581e('0x0')],'unique':_0x581e('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x581e('0x2')](_0x581e('0x3'),_0x581e('0x4'),_0x581e('0x5'))}};