88c44588e4e9cb86760a38d415295cea14c98c83
[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 _0x707d=['name','STRING','rrmemory','beepall','roundrobin','sequelize','exports'];(function(_0x15cfb7,_0x67d9e7){var _0x4bc585=function(_0x5b69bd){while(--_0x5b69bd){_0x15cfb7['push'](_0x15cfb7['shift']());}};_0x4bc585(++_0x67d9e7);}(_0x707d,0xfa));var _0xd707=function(_0xd1e4ac,_0x23bfc2){_0xd1e4ac=_0xd1e4ac-0x0;var _0x12af2d=_0x707d[_0xd1e4ac];return _0x12af2d;};'use strict';var Sequelize=require(_0xd707('0x0'));module[_0xd707('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xd707('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd707('0x3')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xd707('0x4'),_0xd707('0x5'),_0xd707('0x6'))}};