Built motion from commit 511216ff.|2.6.34
[motion2.git] / server / api / faxQueue / faxQueue.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 _0x72e3=['roundrobin','sequelize','STRING','name','INTEGER','ENUM','beepall'];(function(_0x4a747d,_0x3b747f){var _0x3a5b5c=function(_0x4b3e81){while(--_0x4b3e81){_0x4a747d['push'](_0x4a747d['shift']());}};_0x3a5b5c(++_0x3b747f);}(_0x72e3,0x6a));var _0x372e=function(_0x53ecf2,_0x417dd2){_0x53ecf2=_0x53ecf2-0x0;var _0x1e087b=_0x72e3[_0x53ecf2];return _0x1e087b;};'use strict';var Sequelize=require(_0x372e('0x0'));module['exports']={'name':{'type':Sequelize[_0x372e('0x1')],'unique':_0x372e('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x372e('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x372e('0x4')]('rrmemory',_0x372e('0x5'),_0x372e('0x6')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x372e('0x3')],'defaultValue':0x0}};