8feeae8dcaef1e018cc861392aba1892ef58ed54
[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 _0x2768=['beepall','sequelize','exports','STRING','name','INTEGER'];(function(_0x50ad37,_0xf13c72){var _0x19cc96=function(_0x1d4ffa){while(--_0x1d4ffa){_0x50ad37['push'](_0x50ad37['shift']());}};_0x19cc96(++_0xf13c72);}(_0x2768,0x13f));var _0x8276=function(_0x46a015,_0x56d0db){_0x46a015=_0x46a015-0x0;var _0x57b91f=_0x2768[_0x46a015];return _0x57b91f;};'use strict';var Sequelize=require(_0x8276('0x0'));module[_0x8276('0x1')]={'name':{'type':Sequelize[_0x8276('0x2')],'unique':_0x8276('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x8276('0x2')]},'timeout':{'type':Sequelize[_0x8276('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x8276('0x5'),'roundrobin')}};