e0922967a8a4bca7997515a0aaf4765513f4ed9d
[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 _0xc35b=['STRING','beepall','roundrobin','exports'];(function(_0x4131a4,_0x3a6b97){var _0x56e16b=function(_0x161505){while(--_0x161505){_0x4131a4['push'](_0x4131a4['shift']());}};_0x56e16b(++_0x3a6b97);}(_0xc35b,0xa3));var _0xbc35=function(_0x33032e,_0x31411a){_0x33032e=_0x33032e-0x0;var _0x13316b=_0xc35b[_0x33032e];return _0x13316b;};'use strict';var Sequelize=require('sequelize');module[_0xbc35('0x0')]={'name':{'type':Sequelize[_0xbc35('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xbc35('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0xbc35('0x2'),_0xbc35('0x3'))}};