b2dd770647553c7e43c0661921bb842d71321fc3
[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 _0x281d=['rrmemory','beepall','exports','STRING','name','INTEGER','ENUM'];(function(_0x1a8bf6,_0x2fb58d){var _0x2e5e1f=function(_0x2c5f9f){while(--_0x2c5f9f){_0x1a8bf6['push'](_0x1a8bf6['shift']());}};_0x2e5e1f(++_0x2fb58d);}(_0x281d,0xbf));var _0xd281=function(_0x4c3f64,_0x2a320d){_0x4c3f64=_0x4c3f64-0x0;var _0x1fca7a=_0x281d[_0x4c3f64];return _0x1fca7a;};'use strict';var Sequelize=require('sequelize');module[_0xd281('0x0')]={'name':{'type':Sequelize[_0xd281('0x1')],'unique':_0xd281('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd281('0x1')]},'timeout':{'type':Sequelize[_0xd281('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xd281('0x4')](_0xd281('0x5'),_0xd281('0x6'),'roundrobin')}};