2e4406101b696f956d29376aaa65d17b7eea5a09
[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 _0x68ab=['roundrobin','sequelize','exports','name','STRING','INTEGER','ENUM','beepall'];(function(_0x5b27e0,_0x40544b){var _0x70191f=function(_0x4057ba){while(--_0x4057ba){_0x5b27e0['push'](_0x5b27e0['shift']());}};_0x70191f(++_0x40544b);}(_0x68ab,0xd1));var _0xb68a=function(_0x1fd675,_0x587658){_0x1fd675=_0x1fd675-0x0;var _0x521d1c=_0x68ab[_0x1fd675];return _0x521d1c;};'use strict';var Sequelize=require(_0xb68a('0x0'));module[_0xb68a('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xb68a('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xb68a('0x3')]},'timeout':{'type':Sequelize[_0xb68a('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xb68a('0x5')]('rrmemory',_0xb68a('0x6'),_0xb68a('0x7'))}};