a84df04f0f7e62af526a2aa0b7c2c390f0a3776a
[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 _0x5c97=['beepall','sequelize','exports','name','INTEGER','ENUM','rrmemory'];(function(_0x119966,_0x54d84c){var _0x59dc83=function(_0x32e13d){while(--_0x32e13d){_0x119966['push'](_0x119966['shift']());}};_0x59dc83(++_0x54d84c);}(_0x5c97,0x104));var _0x75c9=function(_0x28ff30,_0x342f9c){_0x28ff30=_0x28ff30-0x0;var _0x453c8b=_0x5c97[_0x28ff30];return _0x453c8b;};'use strict';var Sequelize=require(_0x75c9('0x0'));module[_0x75c9('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x75c9('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x75c9('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x75c9('0x4')](_0x75c9('0x5'),_0x75c9('0x6'),'roundrobin')}};