7d96d19d6918456b521d591fe0e738657f2a4f61
[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 _0xc13b=['beepall','roundrobin','exports','STRING','ENUM','rrmemory'];(function(_0x59ab86,_0x5a5765){var _0x26ac1d=function(_0x5aa5d9){while(--_0x5aa5d9){_0x59ab86['push'](_0x59ab86['shift']());}};_0x26ac1d(++_0x5a5765);}(_0xc13b,0xe0));var _0xbc13=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0xc13b[_0x55f8b4];return _0x2475f9;};'use strict';var Sequelize=require('sequelize');module[_0xbc13('0x0')]={'name':{'type':Sequelize[_0xbc13('0x1')],'unique':'name','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[_0xbc13('0x2')](_0xbc13('0x3'),_0xbc13('0x4'),_0xbc13('0x5'))}};