9502d8203524d51e6a811b957ab0f53dcc26a5e7
[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 _0x2ad4=['STRING','INTEGER','ENUM','rrmemory','sequelize','exports'];(function(_0x393bdf,_0xf2ccb4){var _0xd57701=function(_0x4c9c1a){while(--_0x4c9c1a){_0x393bdf['push'](_0x393bdf['shift']());}};_0xd57701(++_0xf2ccb4);}(_0x2ad4,0xdc));var _0x42ad=function(_0x282f9a,_0x63dff){_0x282f9a=_0x282f9a-0x0;var _0x52528c=_0x2ad4[_0x282f9a];return _0x52528c;};'use strict';var Sequelize=require(_0x42ad('0x0'));module[_0x42ad('0x1')]={'name':{'type':Sequelize[_0x42ad('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x42ad('0x2')]},'timeout':{'type':Sequelize[_0x42ad('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x42ad('0x4')](_0x42ad('0x5'),'beepall','roundrobin')}};