3d82d876e841207f182655da134d4efead66fc09
[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 _0x3d0d=['sequelize','exports','STRING','name','INTEGER','ENUM','rrmemory','roundrobin'];(function(_0xcbcfd1,_0x5e1f67){var _0x21ab7f=function(_0x46d8b4){while(--_0x46d8b4){_0xcbcfd1['push'](_0xcbcfd1['shift']());}};_0x21ab7f(++_0x5e1f67);}(_0x3d0d,0x158));var _0xd3d0=function(_0x42d1d2,_0x1fbf4b){_0x42d1d2=_0x42d1d2-0x0;var _0x56f4d1=_0x3d0d[_0x42d1d2];return _0x56f4d1;};'use strict';var Sequelize=require(_0xd3d0('0x0'));module[_0xd3d0('0x1')]={'name':{'type':Sequelize[_0xd3d0('0x2')],'unique':_0xd3d0('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd3d0('0x2')]},'timeout':{'type':Sequelize[_0xd3d0('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xd3d0('0x5')](_0xd3d0('0x6'),'beepall',_0xd3d0('0x7'))}};