209517dfcac8c71d35ada89f400d1f7a83792949
[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 _0x88a9=['STRING','exports'];(function(_0x440b1a,_0x7a73ba){var _0x549536=function(_0x39204c){while(--_0x39204c){_0x440b1a['push'](_0x440b1a['shift']());}};_0x549536(++_0x7a73ba);}(_0x88a9,0x1eb));var _0x988a=function(_0x2e0b04,_0x40d877){_0x2e0b04=_0x2e0b04-0x0;var _0x5266a3=_0x88a9[_0x2e0b04];return _0x5266a3;};'use strict';var Sequelize=require('sequelize');module[_0x988a('0x0')]={'name':{'type':Sequelize[_0x988a('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x988a('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory','beepall','roundrobin')}};