f7395cc3f0f9fdb4d22612a17f9e6f75cd5ab0f2
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0x3373=['exports','STRING','INTEGER','ENUM','rrmemory','roundrobin'];(function(_0x33244d,_0x91dbef){var _0x2fe218=function(_0xf75e12){while(--_0xf75e12){_0x33244d['push'](_0x33244d['shift']());}};_0x2fe218(++_0x91dbef);}(_0x3373,0x1e0));var _0x3337=function(_0x4aa12a,_0x3702b3){_0x4aa12a=_0x4aa12a-0x0;var _0xdd0fed=_0x3373[_0x4aa12a];return _0xdd0fed;};'use strict';var Sequelize=require('sequelize');module[_0x3337('0x0')]={'name':{'type':Sequelize[_0x3337('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x3337('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x3337('0x3')](_0x3337('0x4'),'beepall',_0x3337('0x5'))}};