Built motion from commit 775e2a94.|2.6.3
[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 _0x8cbe=['INTEGER','beepall','sequelize','STRING','name'];(function(_0xeb035f,_0x4b96bb){var _0x5e5f4c=function(_0x830e8){while(--_0x830e8){_0xeb035f['push'](_0xeb035f['shift']());}};_0x5e5f4c(++_0x4b96bb);}(_0x8cbe,0x124));var _0xe8cb=function(_0x12172f,_0x20b1f8){_0x12172f=_0x12172f-0x0;var _0x5d146e=_0x8cbe[_0x12172f];return _0x5d146e;};'use strict';var Sequelize=require(_0xe8cb('0x0'));module['exports']={'name':{'type':Sequelize[_0xe8cb('0x1')],'unique':_0xe8cb('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xe8cb('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0xe8cb('0x4'),'roundrobin')}};