23cea091db1cd1b97e3f101dfc66399e318028f5
[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 _0x42ec=['name','STRING','INTEGER','ENUM','rrmemory','beepall','exports'];(function(_0x39cc8f,_0xb60cd8){var _0x15e616=function(_0x513d9e){while(--_0x513d9e){_0x39cc8f['push'](_0x39cc8f['shift']());}};_0x15e616(++_0xb60cd8);}(_0x42ec,0xe6));var _0xc42e=function(_0x4fd434,_0x52fd9c){_0x4fd434=_0x4fd434-0x0;var _0x446e78=_0x42ec[_0x4fd434];return _0x446e78;};'use strict';var Sequelize=require('sequelize');module[_0xc42e('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xc42e('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xc42e('0x2')]},'timeout':{'type':Sequelize[_0xc42e('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xc42e('0x4')](_0xc42e('0x5'),_0xc42e('0x6'),'roundrobin')}};