632d43918dfd3c65649e23ccadcb8838acefe14b
[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 _0x930c=['INTEGER','rrmemory','beepall','sequelize','exports','STRING','name'];(function(_0x28cd0d,_0xd0f996){var _0xa18b47=function(_0x3886ef){while(--_0x3886ef){_0x28cd0d['push'](_0x28cd0d['shift']());}};_0xa18b47(++_0xd0f996);}(_0x930c,0x7a));var _0xc930=function(_0x3bc9f8,_0x4930e1){_0x3bc9f8=_0x3bc9f8-0x0;var _0x1de4a1=_0x930c[_0x3bc9f8];return _0x1de4a1;};'use strict';var Sequelize=require(_0xc930('0x0'));module[_0xc930('0x1')]={'name':{'type':Sequelize[_0xc930('0x2')],'unique':_0xc930('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xc930('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xc930('0x5'),_0xc930('0x6'),'roundrobin')}};