1f42e052fadd342fbaeeebcd61346c805c2f262e
[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 _0xd2f3=['INTEGER','ENUM','rrmemory','beepall','exports','STRING','name'];(function(_0x52801f,_0x9daaf9){var _0x4243e6=function(_0x4ecc49){while(--_0x4ecc49){_0x52801f['push'](_0x52801f['shift']());}};_0x4243e6(++_0x9daaf9);}(_0xd2f3,0x169));var _0x3d2f=function(_0x1e87da,_0x548496){_0x1e87da=_0x1e87da-0x0;var _0x4d2fd8=_0xd2f3[_0x1e87da];return _0x4d2fd8;};'use strict';var Sequelize=require('sequelize');module[_0x3d2f('0x0')]={'name':{'type':Sequelize[_0x3d2f('0x1')],'unique':_0x3d2f('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x3d2f('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x3d2f('0x4')](_0x3d2f('0x5'),_0x3d2f('0x6'),'roundrobin'),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x3d2f('0x3')],'defaultValue':0x0}};