0b7173a1f2fe8e85f9d82079bd8686c31f874a95
[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 _0xd7e8=['roundrobin','sequelize','exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x245e44,_0x45aa22){var _0x4a005c=function(_0x2d34ee){while(--_0x2d34ee){_0x245e44['push'](_0x245e44['shift']());}};_0x4a005c(++_0x45aa22);}(_0xd7e8,0x1f0));var _0x8d7e=function(_0x878697,_0x40f4d4){_0x878697=_0x878697-0x0;var _0x1f125c=_0xd7e8[_0x878697];return _0x1f125c;};'use strict';var Sequelize=require(_0x8d7e('0x0'));module[_0x8d7e('0x1')]={'name':{'type':Sequelize[_0x8d7e('0x2')],'unique':_0x8d7e('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x8d7e('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x8d7e('0x5')](_0x8d7e('0x6'),_0x8d7e('0x7'),_0x8d7e('0x8'))}};