003ccd8a169e5dadea89ea48a2643cf4dbcbde3e
[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 _0x6f49=['rrmemory','roundrobin','exports','name','STRING','INTEGER'];(function(_0x48645f,_0x427f26){var _0x9b59ff=function(_0x263072){while(--_0x263072){_0x48645f['push'](_0x48645f['shift']());}};_0x9b59ff(++_0x427f26);}(_0x6f49,0x1d6));var _0x96f4=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x6f49[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require('sequelize');module[_0x96f4('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x96f4('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x96f4('0x2')]},'timeout':{'type':Sequelize[_0x96f4('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x96f4('0x4'),'beepall',_0x96f4('0x5'))}};