Built motion from commit 1cfc41f6.|2.5.41
[motion2.git] / server / api / whatsappQueue / whatsappQueue.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 _0xbd3b=['ENUM','rrmemory','beepall','sequelize','exports','STRING','INTEGER'];(function(_0x2b27b6,_0x14be82){var _0x26dd27=function(_0x15dc0a){while(--_0x15dc0a){_0x2b27b6['push'](_0x2b27b6['shift']());}};_0x26dd27(++_0x14be82);}(_0xbd3b,0x1c3));var _0xbbd3=function(_0x52c907,_0x5bb5cb){_0x52c907=_0x52c907-0x0;var _0x568c5a=_0xbd3b[_0x52c907];return _0x568c5a;};'use strict';var Sequelize=require(_0xbbd3('0x0'));module[_0xbbd3('0x1')]={'name':{'type':Sequelize[_0xbbd3('0x2')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xbbd3('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xbbd3('0x4')](_0xbbd3('0x5'),_0xbbd3('0x6'),'roundrobin')},'description':{'type':Sequelize[_0xbbd3('0x2')]}};