1f547f88a12028815dac542cb035e98b60eca8e7
[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 _0x6f57=['exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x244a6a,_0x1aa069){var _0x1e59c9=function(_0x19ab1f){while(--_0x19ab1f){_0x244a6a['push'](_0x244a6a['shift']());}};_0x1e59c9(++_0x1aa069);}(_0x6f57,0x196));var _0x76f5=function(_0x4f3fce,_0x394ec9){_0x4f3fce=_0x4f3fce-0x0;var _0x2d79a8=_0x6f57[_0x4f3fce];return _0x2d79a8;};'use strict';var Sequelize=require('sequelize');module[_0x76f5('0x0')]={'name':{'type':Sequelize[_0x76f5('0x1')],'unique':_0x76f5('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x76f5('0x1')]},'timeout':{'type':Sequelize[_0x76f5('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x76f5('0x4')](_0x76f5('0x5'),_0x76f5('0x6'),'roundrobin')}};