e77a315c4b90fe5d293295271d9d1b533eb7ea3d
[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 _0x0fa4=['exports','STRING','name','INTEGER','ENUM','rrmemory'];(function(_0x7299bd,_0x543ab8){var _0x10052d=function(_0x76adeb){while(--_0x76adeb){_0x7299bd['push'](_0x7299bd['shift']());}};_0x10052d(++_0x543ab8);}(_0x0fa4,0x150));var _0x40fa=function(_0x35a003,_0x4d3379){_0x35a003=_0x35a003-0x0;var _0x4c5b9d=_0x0fa4[_0x35a003];return _0x4c5b9d;};'use strict';var Sequelize=require('sequelize');module[_0x40fa('0x0')]={'name':{'type':Sequelize[_0x40fa('0x1')],'unique':_0x40fa('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x40fa('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x40fa('0x4')](_0x40fa('0x5'),'beepall','roundrobin')}};