30a062664c8acb9432db94c51e3469c996f0a05d
[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 _0x6aa7=['sequelize','exports','STRING','name','INTEGER','beepall'];(function(_0x147476,_0x3d0b93){var _0x32d19a=function(_0x1077d1){while(--_0x1077d1){_0x147476['push'](_0x147476['shift']());}};_0x32d19a(++_0x3d0b93);}(_0x6aa7,0x10e));var _0x76aa=function(_0x705b73,_0x53925a){_0x705b73=_0x705b73-0x0;var _0x402c0a=_0x6aa7[_0x705b73];return _0x402c0a;};'use strict';var Sequelize=require(_0x76aa('0x0'));module[_0x76aa('0x1')]={'name':{'type':Sequelize[_0x76aa('0x2')],'unique':_0x76aa('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x76aa('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x76aa('0x5'),'roundrobin')}};