b5d441a34eedcd3d1711462410904374cce32712
[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 _0x8b39=['STRING','ENUM','rrmemory','beepall','roundrobin','exports','name'];(function(_0x2e53e1,_0x12aed1){var _0x3a23de=function(_0xd84699){while(--_0xd84699){_0x2e53e1['push'](_0x2e53e1['shift']());}};_0x3a23de(++_0x12aed1);}(_0x8b39,0x1cc));var _0x98b3=function(_0x7a567f,_0x3dbcdd){_0x7a567f=_0x7a567f-0x0;var _0x281342=_0x8b39[_0x7a567f];return _0x281342;};'use strict';var Sequelize=require('sequelize');module[_0x98b3('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x98b3('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x98b3('0x2')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x98b3('0x3')](_0x98b3('0x4'),_0x98b3('0x5'),_0x98b3('0x6'))}};