27c873e0b09e66e83d566bcdc28f60054db2f47c
[motion2.git] / server / api / smsQueue / smsQueue.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 _0xf430=['beepall','roundrobin','sequelize','exports','STRING','name','ENUM','rrmemory'];(function(_0x2a4aef,_0x4ab35d){var _0xdab266=function(_0x5363a6){while(--_0x5363a6){_0x2a4aef['push'](_0x2a4aef['shift']());}};_0xdab266(++_0x4ab35d);}(_0xf430,0x1a2));var _0x0f43=function(_0x578275,_0xe7ae46){_0x578275=_0x578275-0x0;var _0xf78041=_0xf430[_0x578275];return _0xf78041;};'use strict';var Sequelize=require(_0x0f43('0x0'));module[_0x0f43('0x1')]={'name':{'type':Sequelize[_0x0f43('0x2')],'unique':_0x0f43('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x0f43('0x2')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x0f43('0x4')](_0x0f43('0x5'),_0x0f43('0x6'),_0x0f43('0x7'))}};