54ce7ac828d0675fd96f5b80a5cc6d554a3e550a
[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 _0x6b84=['INTEGER','ENUM','roundrobin','exports','STRING','name'];(function(_0x5b561d,_0x422b7c){var _0x431060=function(_0x401409){while(--_0x401409){_0x5b561d['push'](_0x5b561d['shift']());}};_0x431060(++_0x422b7c);}(_0x6b84,0x1b9));var _0x46b8=function(_0x3def8f,_0x2bb324){_0x3def8f=_0x3def8f-0x0;var _0x4f8c0e=_0x6b84[_0x3def8f];return _0x4f8c0e;};'use strict';var Sequelize=require('sequelize');module[_0x46b8('0x0')]={'name':{'type':Sequelize[_0x46b8('0x1')],'unique':_0x46b8('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x46b8('0x1')]},'timeout':{'type':Sequelize[_0x46b8('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x46b8('0x4')]('rrmemory','beepall',_0x46b8('0x5'))}};