0e5682ac4b45f2de9a9a5206d6c6ed800c45fd21
[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 _0x3714=['INTEGER','rrmemory','beepall','roundrobin','sequelize','STRING','name'];(function(_0x295ed6,_0x3417f2){var _0x3c574f=function(_0x2fa3b7){while(--_0x2fa3b7){_0x295ed6['push'](_0x295ed6['shift']());}};_0x3c574f(++_0x3417f2);}(_0x3714,0x107));var _0x4371=function(_0x2bf3b3,_0x4f0441){_0x2bf3b3=_0x2bf3b3-0x0;var _0xce1706=_0x3714[_0x2bf3b3];return _0xce1706;};'use strict';var Sequelize=require(_0x4371('0x0'));module['exports']={'name':{'type':Sequelize[_0x4371('0x1')],'unique':_0x4371('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x4371('0x1')]},'timeout':{'type':Sequelize[_0x4371('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x4371('0x4'),_0x4371('0x5'),_0x4371('0x6'))}};