e0c85e5496b61dd7cb17f18c93965ffc92c289ec
[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 _0x27a6=['exports','STRING','name','INTEGER','rrmemory','roundrobin'];(function(_0x3d500c,_0x468c9b){var _0x2006b7=function(_0x23f627){while(--_0x23f627){_0x3d500c['push'](_0x3d500c['shift']());}};_0x2006b7(++_0x468c9b);}(_0x27a6,0xc6));var _0x627a=function(_0x5e3b04,_0xbb6795){_0x5e3b04=_0x5e3b04-0x0;var _0x1fc44d=_0x27a6[_0x5e3b04];return _0x1fc44d;};'use strict';var Sequelize=require('sequelize');module[_0x627a('0x0')]={'name':{'type':Sequelize[_0x627a('0x1')],'unique':_0x627a('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x627a('0x1')]},'timeout':{'type':Sequelize[_0x627a('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x627a('0x4'),'beepall',_0x627a('0x5'))}};