Built motion from commit 092f8824.|2.5.49
[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 _0xa7e4=['INTEGER','rrmemory','beepall','roundrobin','exports','name'];(function(_0x530f94,_0x1713cc){var _0x265cc4=function(_0x1b2c24){while(--_0x1b2c24){_0x530f94['push'](_0x530f94['shift']());}};_0x265cc4(++_0x1713cc);}(_0xa7e4,0x13c));var _0x4a7e=function(_0x599f41,_0x4db732){_0x599f41=_0x599f41-0x0;var _0x2e4d58=_0xa7e4[_0x599f41];return _0x2e4d58;};'use strict';var Sequelize=require('sequelize');module[_0x4a7e('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x4a7e('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x4a7e('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x4a7e('0x3'),_0x4a7e('0x4'),_0x4a7e('0x5'))}};