913d50fcc5f38828eb8d4095f08cf2dd3c178a6d
[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 _0x7a05=['exports','STRING','name','INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize'];(function(_0x273678,_0x5d0525){var _0x335625=function(_0x37803c){while(--_0x37803c){_0x273678['push'](_0x273678['shift']());}};_0x335625(++_0x5d0525);}(_0x7a05,0xfb));var _0x57a0=function(_0x45d174,_0x47c6bb){_0x45d174=_0x45d174-0x0;var _0x3a0128=_0x7a05[_0x45d174];return _0x3a0128;};'use strict';var Sequelize=require(_0x57a0('0x0'));module[_0x57a0('0x1')]={'name':{'type':Sequelize[_0x57a0('0x2')],'unique':_0x57a0('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x57a0('0x2')]},'timeout':{'type':Sequelize[_0x57a0('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x57a0('0x5')](_0x57a0('0x6'),_0x57a0('0x7'),_0x57a0('0x8'))}};