b12124a889cb1a5a353da3eb072fa26c46224643
[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 _0x4816=['roundrobin','INTEGER','exports','name','STRING','ENUM'];(function(_0xa12a63,_0x44f899){var _0x17fdc3=function(_0x3d31fe){while(--_0x3d31fe){_0xa12a63['push'](_0xa12a63['shift']());}};_0x17fdc3(++_0x44f899);}(_0x4816,0xfe));var _0x6481=function(_0x45f4e9,_0x5246fd){_0x45f4e9=_0x45f4e9-0x0;var _0x559d8f=_0x4816[_0x45f4e9];return _0x559d8f;};'use strict';var Sequelize=require('sequelize');module[_0x6481('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x6481('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x6481('0x2')]},'timeout':{'type':Sequelize['INTEGER'],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x6481('0x3')]('rrmemory','beepall',_0x6481('0x4')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x6481('0x5')],'defaultValue':0x0}};