5eb1fac6ba16dac764480894d7155f088a0cf896
[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 _0xde46=['exports','STRING','name','INTEGER','rrmemory','roundrobin','sequelize'];(function(_0x587766,_0x3a0468){var _0x42fcdf=function(_0x2578ee){while(--_0x2578ee){_0x587766['push'](_0x587766['shift']());}};_0x42fcdf(++_0x3a0468);}(_0xde46,0xa0));var _0x6de4=function(_0x54571d,_0x56ebbb){_0x54571d=_0x54571d-0x0;var _0x183b2a=_0xde46[_0x54571d];return _0x183b2a;};'use strict';var Sequelize=require(_0x6de4('0x0'));module[_0x6de4('0x1')]={'name':{'type':Sequelize[_0x6de4('0x2')],'unique':_0x6de4('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x6de4('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x6de4('0x5'),'beepall',_0x6de4('0x6'))}};