Built motion from commit d5e4af8c.|2.6.23
[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 _0x6b5d=['beepall','exports','STRING','INTEGER','rrmemory'];(function(_0x26c0ce,_0x4c535b){var _0x387c96=function(_0x44cb6f){while(--_0x44cb6f){_0x26c0ce['push'](_0x26c0ce['shift']());}};_0x387c96(++_0x4c535b);}(_0x6b5d,0x119));var _0xd6b5=function(_0x5260dc,_0x23757e){_0x5260dc=_0x5260dc-0x0;var _0x47a261=_0x6b5d[_0x5260dc];return _0x47a261;};'use strict';var Sequelize=require('sequelize');module[_0xd6b5('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd6b5('0x1')]},'timeout':{'type':Sequelize[_0xd6b5('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xd6b5('0x3'),_0xd6b5('0x4'),'roundrobin')}};