50c4863dba83835c7823d17cf275d0a360ad34e5
[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 _0x40ca=['ENUM','rrmemory','roundrobin','sequelize','name','INTEGER'];(function(_0x1aafd0,_0x20cbd4){var _0x54ea85=function(_0x408c55){while(--_0x408c55){_0x1aafd0['push'](_0x1aafd0['shift']());}};_0x54ea85(++_0x20cbd4);}(_0x40ca,0x1a1));var _0xa40c=function(_0x376b45,_0x5964fb){_0x376b45=_0x376b45-0x0;var _0x2341b3=_0x40ca[_0x376b45];return _0x2341b3;};'use strict';var Sequelize=require(_0xa40c('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xa40c('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xa40c('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xa40c('0x3')](_0xa40c('0x4'),'beepall',_0xa40c('0x5'))},'description':{'type':Sequelize['STRING']}};