92c796e2a2ab79d389556e977553d97d89e639dc
[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 _0x5f64=['STRING','INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize','exports'];(function(_0x4945e8,_0x597c5e){var _0x4300ca=function(_0x50c331){while(--_0x50c331){_0x4945e8['push'](_0x4945e8['shift']());}};_0x4300ca(++_0x597c5e);}(_0x5f64,0x86));var _0x45f6=function(_0x2e6dee,_0x1a61b0){_0x2e6dee=_0x2e6dee-0x0;var _0x47706=_0x5f64[_0x2e6dee];return _0x47706;};'use strict';var Sequelize=require(_0x45f6('0x0'));module[_0x45f6('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x45f6('0x2')]},'timeout':{'type':Sequelize[_0x45f6('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x45f6('0x4')](_0x45f6('0x5'),_0x45f6('0x6'),_0x45f6('0x7'))}};